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, toArrayMethods inherited from interface java.util.Deque
add, addAll, contains, descendingIterator, iterator, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, remove, removeFirstOccurrence, removeLastOccurrence, sizeMethods 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:
removeFirstin interfaceDeque<T>- Specified by:
removeFirstin interfaceList<T>- Specified by:
removeFirstin interfaceSequencedCollection<T>
-
removeLast
T removeLast()- Specified by:
removeLastin interfaceDeque<T>- Specified by:
removeLastin interfaceList<T>- Specified by:
removeLastin interfaceSequencedCollection<T>
-
offer
-
remove
-
poll
-
element
-
peek
-
push
-
pop
-