public class FIFOCache<E> extends ConcurrentLinkedQueue<E>
| Constructor and Description |
|---|
FIFOCache(int max_size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Add an element to the FIFO cache.
|
E |
peekTail()
Returns the tail element of the queue, i.e.
|
addAll, contains, isEmpty, iterator, offer, peek, poll, remove, size, toArray, toArrayclear, element, removecontainsAll, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, containsAll, equals, hashCode, removeAll, retainAllpublic boolean add(E e)
add in interface Collection<E>add in interface Queue<E>add in class ConcurrentLinkedQueue<E>e - Element to addpublic E peekTail()
Copyright © 2015. All rights reserved.