For example, a capped list which automatically delete the first inserted items if the total items pass the specified amount? Any builtin or 3rd party support?
Asked
Active
Viewed 1,473 times
4
-
possible duplicate of [Is there a bounded non-blocking Collection in Java?](http://stackoverflow.com/questions/1290112/is-there-a-bounded-non-blocking-collection-in-java) – BalusC Apr 12 '11 at 02:23
2 Answers
1
Answered here in this Stackoverflow question:
1
It would be fairly trivial to implement this as a wrapper for any of the queue type java collections.
Brian Roach
- 74,513
- 12
- 132
- 160