Closed GoogleCodeExporter closed 9 years ago
None of this was unknown to us when we created it; we're aware that the Queue
contract wasn't written with eviction in mind.
If we allowed add() to throw an exception when there is an immediate eviction,
most use cases for the class would simply have to catch that and ignore it. And
it would *still* be incorrect, as we'd be saying the element was rejected
because the queue was "full", which is not exactly the correct reason.
Original comment by kevinb@google.com
on 19 Jul 2013 at 9:01
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<issue id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:12
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
leonov@gmail.com
on 19 Jul 2013 at 7:46