java.lang.Object
org.bsc.async.internal.UnmodifiableDeque<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Deque<T>,Queue<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends T> c) voidvoidvoidclear()booleanbooleancontainsAll(Collection<?> c) element()getFirst()getLast()booleanisEmpty()iterator()booleanbooleanofferFirst(T t) booleanpeek()peekLast()poll()pollLast()pop()voidremove()booleanbooleanremoveAll(Collection<?> c) booleanbooleanbooleanretainAll(Collection<?> c) intsize()Object[]toArray()<T1> T1[]toArray(T1[] a) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
UnmodifiableDeque
-
-
Method Details
-
add
-
offer
-
remove
-
poll
-
element
-
peek
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<T>
-
offerLast
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<T>
-
removeLast
- Specified by:
removeLastin interfaceDeque<T>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<T>
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<T>
-
addAll
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>
-
contains
-
size
public int size() -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<T>
-
toArray
public <T1> T1[] toArray(T1[] a) - Specified by:
toArrayin interfaceCollection<T>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<T>
-
push
-
pop
-
remove
-