T
- 泛型public class OneshotCache<T>
extends java.util.LinkedList<T>
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
class |
OneshotCache.OneshotIterator |
Constructor and Description |
---|
OneshotCache(int size) |
Modifier and Type | Method and Description |
---|---|
OneshotCache |
clone() |
boolean |
isValid() |
OneshotCache.OneshotIterator |
iterator() |
boolean |
offer(T o) |
T |
poll() |
add, add, addAll, addAll, addFirst, addLast, clear, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offerFirst, offerLast, peek, peekFirst, peekLast, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
equals, hashCode, listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
public boolean offer(T o)
public T poll()
public boolean isValid()
public OneshotCache.OneshotIterator iterator()
public OneshotCache clone()
clone
in class java.util.LinkedList<T>