Package net.minecraft.util
Interface ListAndDeque<T>
- All Superinterfaces:
Cloneable
,Collection<T>
,Deque<T>
,Iterable<T>
,List<T>
,Queue<T>
,RandomAccess
,SequencedCollection<T>
,Serializable
- All Known Implementing Classes:
ArrayListDeque
,ArrayListDeque.ReversedView
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Deque
add, addAll, contains, descendingIterator, iterator, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, remove, removeFirstOccurrence, removeLastOccurrence, size
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
reversed
ListAndDeque<T> reversed() -
getFirst
T getFirst() -
getLast
T getLast() -
addFirst
-
addLast
-
removeFirst
T removeFirst()- Specified by:
removeFirst
in interfaceDeque<T>
- Specified by:
removeFirst
in interfaceList<T>
- Specified by:
removeFirst
in interfaceSequencedCollection<T>
-
removeLast
T removeLast()- Specified by:
removeLast
in interfaceDeque<T>
- Specified by:
removeLast
in interfaceList<T>
- Specified by:
removeLast
in interfaceSequencedCollection<T>
-
offer
-
remove
-
poll
-
element
-
peek
-
push
-
pop
-