Module it.auties.cobalt
Package it.auties.whatsapp.util
Class DefaultControllerSerializer.ImmutableLinkedList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<E>
it.auties.whatsapp.util.DefaultControllerSerializer.ImmutableLinkedList<E>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<E>,Collection<E>,Deque<E>,List<E>,Queue<E>,SequencedCollection<E>
- Enclosing class:
DefaultControllerSerializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LinkedList<E> private static final DefaultControllerSerializer.ImmutableLinkedListFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) voidvoidvoidclear()clone()booleanelement()private static <E> DefaultControllerSerializer.ImmutableLinkedList<E> empty()voidget(int index) getFirst()getLast()intintlistIterator(int index) booleanbooleanofferFirst(E e) booleanpeek()peekLast()poll()pollLast()pop()voidremove()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanbooleanbooleanprotected voidremoveRange(int fromIndex, int toIndex) voidreplaceAll(UnaryOperator<E> operator) reversed()intsize()voidsort(Comparator<? super E> c) stream()Object[]toArray()<T> T[]toArray(IntFunction<T[]> generator) <T> T[]toArray(T[] a) Methods inherited from class java.util.AbstractSequentialList
iteratorMethods inherited from class java.util.AbstractList
equals, hashCode, listIterator, subListMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, retainAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, retainAll, subList
-
Field Details
-
EMPTY
-
delegate
-
-
Constructor Details
-
ImmutableLinkedList
-
-
Method Details
-
empty
-
getFirst
-
getLast
-
contains
-
size
public int size() -
clear
public void clear()- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceList<E>- Overrides:
clearin classLinkedList<E>
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>- Overrides:
lastIndexOfin classLinkedList<E>
-
peek
-
element
-
poll
-
offer
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<E>- Overrides:
offerFirstin classLinkedList<E>
-
offerLast
-
peekFirst
-
peekLast
-
pollFirst
-
pollLast
-
push
-
pop
-
listIterator
- Specified by:
listIteratorin interfaceList<E>- Overrides:
listIteratorin classLinkedList<E>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<E>- Overrides:
descendingIteratorin classLinkedList<E>
-
clone
- Overrides:
clonein classLinkedList<E>
-
toArray
- Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classLinkedList<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classLinkedList<E>
-
spliterator
- Specified by:
spliteratorin interfaceCollection<E>- Specified by:
spliteratorin interfaceIterable<E>- Specified by:
spliteratorin interfaceList<E>- Overrides:
spliteratorin classLinkedList<E>
-
reversed
-
replaceAll
-
sort
-
toArray
-
stream
-
parallelStream
-
forEach
-
add
-
add
-
addLast
-
addFirst
-
addAll
-
addAll
-
remove
-
remove
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<E>- Specified by:
removeFirstin interfaceList<E>- Specified by:
removeFirstin interfaceSequencedCollection<E>- Overrides:
removeFirstin classLinkedList<E>
-
removeLast
- Specified by:
removeLastin interfaceDeque<E>- Specified by:
removeLastin interfaceList<E>- Specified by:
removeLastin interfaceSequencedCollection<E>- Overrides:
removeLastin classLinkedList<E>
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<E>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>- Specified by:
removeAllin interfaceList<E>- Overrides:
removeAllin classAbstractCollection<E>
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<E>- Overrides:
removeFirstOccurrencein classLinkedList<E>
-
remove
-
removeIf
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<E>- Overrides:
removeLastOccurrencein classLinkedList<E>
-
set
-