Package org.fulib.fx.data
Interface SizeableTraversableQueue<T>
- All Superinterfaces:
TraversableQueue<T>
- All Known Implementing Classes:
EvictingQueue
-
Method Summary
-
Method Details
-
setSize
void setSize(int size) Sets the maximum size of the queue. If the current size is larger than the new size, the oldest elements will be removed.- Parameters:
size
- the new size
-
size
int size()Returns the maximum size of the queue.- Returns:
- The maximum size of the queue.
-