java.lang.Object
cn.wjybxx.base.collection.EmptyDequeue<E>
- 类型参数:
E-
- 所有已实现的接口:
Iterable<E>,Collection<E>,Deque<E>,Queue<E>,SequencedCollection<E>
- 作者:
- wjybxx date 2023/12/1
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanbooleanaddAll(Collection<? extends E> c) voidvoidvoidclear()booleanbooleancontainsAll(Collection<?> c) element()voidgetFirst()static <E> EmptyDequeue<E> getLast()booleanisEmpty()iterator()booleanbooleanofferFirst(E e) booleanpeek()peekLast()poll()pollLast()pop()voidremove()booleanbooleanremoveAll(Collection<?> c) booleanbooleanbooleanbooleanretainAll(Collection<?> c) reversed()intsize()stream()Object[]toArray()<T> T[]toArray(IntFunction<T[]> generator) <T> T[]toArray(T[] a) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.util.Collection
equals, hashCode
-
字段详细资料
-
INSTANCE
-
-
构造器详细资料
-
EmptyDequeue
public EmptyDequeue()
-
-
方法详细资料
-
getInstance
-
add
-
offer
-
remove
-
poll
-
element
-
peek
-
push
-
pop
-
addFirst
-
addLast
-
offerFirst
- 指定者:
offerFirst在接口中Deque<E>
-
offerLast
-
getFirst
-
getLast
-
removeFirst
- 指定者:
removeFirst在接口中Deque<E>- 指定者:
removeFirst在接口中SequencedCollection<E>
-
removeLast
- 指定者:
removeLast在接口中Deque<E>- 指定者:
removeLast在接口中SequencedCollection<E>
-
peekFirst
-
pollFirst
-
peekLast
-
pollLast
-
size
public int size() -
isEmpty
public boolean isEmpty()- 指定者:
isEmpty在接口中Collection<E>
-
clear
public void clear()- 指定者:
clear在接口中Collection<E>
-
contains
-
remove
-
removeFirstOccurrence
- 指定者:
removeFirstOccurrence在接口中Deque<E>
-
removeLastOccurrence
- 指定者:
removeLastOccurrence在接口中Deque<E>
-
containsAll
- 指定者:
containsAll在接口中Collection<E>
-
removeAll
- 指定者:
removeAll在接口中Collection<E>
-
addAll
-
retainAll
- 指定者:
retainAll在接口中Collection<E>
-
toArray
- 指定者:
toArray在接口中Collection<E>
-
toArray
@Nonnull public <T> T[] toArray(T[] a) - 指定者:
toArray在接口中Collection<E>
-
toArray
- 指定者:
toArray在接口中Collection<E>
-
spliterator
- 指定者:
spliterator在接口中Collection<E>- 指定者:
spliterator在接口中Iterable<E>
-
stream
- 指定者:
stream在接口中Collection<E>
-
parallelStream
- 指定者:
parallelStream在接口中Collection<E>
-
iterator
-
descendingIterator
- 指定者:
descendingIterator在接口中Deque<E>
-
forEach
-
removeIf
- 指定者:
removeIf在接口中Collection<E>
-
reversed
-