經安全檢測,此網站為安全網站,請放心前往原始網址!

Size-limited queue that holds last N elements in Java - Stack Overflow

As far as I see, there's no standard implementation in Java stdlibs, but .... A min- max priority queue can be configured with a maximum size.

stackoverflow.com

網址安全性掃描由 google 提供