类 OneshotCache<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.AbstractSequentialList<E>
-
- java.util.LinkedList<T>
-
- com.aispeech.lite.oneshot.OneshotCache<T>
-
- 类型参数:
T
- 泛型
- 所有已实现的接口:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.Deque<T>
,java.util.List<T>
,java.util.Queue<T>
public class OneshotCache<T> extends java.util.LinkedList<T> implements java.lang.Cloneable
定长的环形队列- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 class
OneshotCache.OneshotIterator
-
构造器概要
构造器 构造器 说明 OneshotCache(int size)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 OneshotCache
clone()
boolean
isValid()
OneshotCache.OneshotIterator
iterator()
boolean
offer(T o)
T
poll()
-
从类继承的方法 java.util.LinkedList
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
-
-
-
-
方法详细资料
-
offer
public boolean offer(T o)
-
poll
public T poll()
-
isValid
public boolean isValid()
-
iterator
public OneshotCache.OneshotIterator iterator()
-
clone
public OneshotCache clone()
- 覆盖:
clone
在类中java.util.LinkedList<T>
-
-