Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6658995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:58:45+00:00 2026-05-26T01:58:45+00:00

I am looking for a similar library as ArrayBlockingQueue. Just that, I don’t need

  • 0

I am looking for a similar library as ArrayBlockingQueue. Just that, I don’t need the thread safe feature (For better performance purpose) offered in it, as it is using ReentrantLock in the offer(E e) method.

What I would like is

  1. A FIFO queue.
  2. Has an initial capacity, where pushing new element in will fail if the queue is full.
  3. Thread safety is not a requirement.

I don’t find ArrayQueue in Java standard library. Or, am I missing any classes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:58:46+00:00Added an answer on May 26, 2026 at 1:58 am

    There is a BoundedFiFoBuffer in the Common.Collections with the following properties:

    • The BoundedFifoBuffer is a very efficient implementation of Buffer that is of a fixed size.

    • The removal order of a BoundedFifoBuffer is based on the insertion order; elements are removed in the same order in which they were added.

    • The iteration order is the same as the removal order.

    • Note that this implementation is not synchronized.

    • BufferOverflowException is thrown on attempt to add elements to the full buffer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a library that has functionality similar to Perl's WWW::Mechanize , but
I'm looking for a charting library similar to amCharts that allows you to create
I'm looking for similar function as urlencode() from PHP just in JavaScript. jQuery library
I've tried looking at similar problems, but could not easily find one that helped
I've come to love Amazon's EC2 service and I'm looking for something similar that
Are there any Intel AVX intrinsics library out? I'm looking for something similar as
I'm looking for a Java library that would allow me to marshal XML to
I'm looking for a (ideally jQuery plugin) Javascript library that will let me provide
I'm looking for a javascript charting library that can display interactive bar graphs on
Im looking for a PHP library similar to the PHP GD library though having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.