public abstract class AbstractMemoryEfficientMutableList<T> extends AbstractMutableList<T> implements FixedSizeList<T>, RandomAccess
| Constructor and Description |
|---|
AbstractMemoryEfficientMutableList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAll(int index,
Collection<? extends T> collection) |
boolean |
addAllIterable(Iterable<? extends T> iterable) |
void |
clear() |
FixedSizeList<T> |
clone() |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAllIterable(Iterable<?> iterable) |
void |
sort(Comparator<? super T> comparator)
This method checks if comparator is null and use a ComparableComparator if it is.
|
MutableList<T> |
subList(int fromIndex,
int toIndex) |
FixedSizeList<T> |
tap(Procedure<? super T> procedure) |
FixedSizeList<T> |
toReversed() |
MutableList<T> |
withAll(Iterable<? extends T> elements) |
MutableList<T> |
without(T element) |
MutableList<T> |
withoutAll(Iterable<? extends T> elements) |
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, asParallel, asReversed, asSynchronized, asUnmodifiable, binarySearch, chunk, collect, collectIf, collectWith, contains, containsAll, corresponds, count, countWith, detect, detectIndex, detectLastIndex, detectOptional, detectWith, detectWithOptional, distinct, distinct, distinctBy, drop, dropWhile, each, equals, flatCollect, forEach, forEachWith, forEachWithIndex, forEachWithIndex, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, hashCode, indexOf, injectInto, injectInto, injectInto, injectInto, injectIntoWith, iterator, lastIndexOf, max, max, maxBy, min, min, minBy, newEmpty, noneSatisfy, noneSatisfyWith, partition, partitionWhile, partitionWith, reject, rejectWith, select, selectAndRejectWith, selectInstancesOf, selectWith, sortThisByBoolean, sortThisByByte, sortThisByChar, sortThisByDouble, sortThisByFloat, sortThisByInt, sortThisByLong, sortThisByShort, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, take, takeWhile, toSet, toSortedList, zip, zip, zipWithIndex, zipWithIndexcountBy, countByEach, countByWith, reduce, sumByDouble, sumByFloat, sumByInt, sumByLongasLazy, containsAllArguments, containsAllIterable, detectWithIfNone, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, into, isEmpty, toArray, toArray, toBag, toBiMap, toList, toMap, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toStringsortThis, sortThis, withasSynchronized, asUnmodifiable, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, collectWithIndex, distinct, distinct, distinctBy, drop, dropWhile, flatCollect, flatCollectWith, groupBy, groupByEach, newEmpty, partition, partitionWhile, partitionWith, reject, rejectWith, rejectWithIndex, reverseThis, select, selectInstancesOf, selectWith, selectWithIndex, shuffleThis, shuffleThis, sortThisBy, sortThisByBoolean, sortThisByByte, sortThisByChar, sortThisByDouble, sortThisByFloat, sortThisByInt, sortThisByLong, sortThisByShort, take, takeWhile, toImmutable, toImmutableList, zip, zipWithIndexcontains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, replaceAll, set, size, spliterator, toArray, toArrayasParallel, binarySearch, binarySearch, equals, forEachInBoth, get, getFirst, getLast, hashCode, lastIndexOfasReversed, detectLastIndex, reverseForEach, reverseForEachWithIndexcollectWithIndex, corresponds, detectIndex, forEach, forEachWithIndex, forEachWithIndex, getFirstOptional, getLastOptional, indexOf, rejectWithIndex, selectWithIndex, toStackaggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, maxBy, maxByOptional, maxOptional, maxOptional, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toStringforEachWithaggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongparallelStream, removeIf, streampublic FixedSizeList<T> clone()
clone in interface MutableList<T>clone in class AbstractMutableList<T>public FixedSizeList<T> tap(Procedure<? super T> procedure)
tap in interface FixedSizeCollection<T>tap in interface MutableCollection<T>tap in interface FixedSizeList<T>tap in interface ListIterable<T>tap in interface MutableList<T>tap in interface OrderedIterable<T>tap in interface ReversibleIterable<T>tap in interface RichIterable<T>tap in class AbstractMutableList<T>public boolean add(T o)
add in interface Collection<T>add in interface List<T>add in interface FixedSizeCollection<T>add in class AbstractMutableCollection<T>public boolean addAll(Collection<? extends T> collection)
addAll in interface Collection<T>addAll in interface List<T>addAll in interface FixedSizeCollection<T>addAll in class AbstractMutableCollection<T>public boolean addAll(int index,
Collection<? extends T> collection)
public boolean addAllIterable(Iterable<? extends T> iterable)
addAllIterable in interface FixedSizeCollection<T>addAllIterable in interface MutableCollection<T>addAllIterable in class AbstractMutableCollection<T>public boolean remove(Object o)
remove in interface Collection<T>remove in interface List<T>remove in interface FixedSizeCollection<T>remove in class AbstractMutableCollection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>removeAll in interface List<T>removeAll in interface FixedSizeCollection<T>removeAll in class AbstractMutableList<T>public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface FixedSizeCollection<T>removeAllIterable in interface MutableCollection<T>removeAllIterable in class AbstractMutableCollection<T>public boolean removeIf(Predicate<? super T> predicate)
removeIf in interface FixedSizeCollection<T>removeIf in interface MutableCollection<T>removeIf in class AbstractMutableList<T>public <P> boolean removeIfWith(Predicate2<? super T,? super P> predicate, P parameter)
removeIfWith in interface FixedSizeCollection<T>removeIfWith in interface MutableCollection<T>removeIfWith in class AbstractMutableList<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>retainAll in interface List<T>retainAll in interface FixedSizeCollection<T>retainAll in class AbstractMutableList<T>public boolean retainAllIterable(Iterable<?> iterable)
retainAllIterable in interface FixedSizeCollection<T>retainAllIterable in interface MutableCollection<T>retainAllIterable in class AbstractMutableCollection<T>public void clear()
clear in interface Collection<T>clear in interface List<T>clear in interface FixedSizeCollection<T>public void sort(Comparator<? super T> comparator)
public FixedSizeList<T> toReversed()
toReversed in interface FixedSizeList<T>toReversed in interface ListIterable<T>toReversed in interface MutableList<T>toReversed in interface ReversibleIterable<T>public MutableList<T> subList(int fromIndex, int toIndex)
subList in interface List<T>subList in interface ListIterable<T>subList in interface MutableList<T>subList in class AbstractMutableList<T>public MutableList<T> without(T element)
without in interface FixedSizeCollection<T>without in interface MutableCollection<T>without in interface FixedSizeList<T>without in interface MutableList<T>public MutableList<T> withAll(Iterable<? extends T> elements)
withAll in interface FixedSizeCollection<T>withAll in interface MutableCollection<T>withAll in interface FixedSizeList<T>withAll in interface MutableList<T>public MutableList<T> withoutAll(Iterable<? extends T> elements)
withoutAll in interface FixedSizeCollection<T>withoutAll in interface MutableCollection<T>withoutAll in interface FixedSizeList<T>withoutAll in interface MutableList<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>listIterator in interface ListIterable<T>listIterator in class AbstractMutableList<T>public ListIterator<T> listIterator()
listIterator in interface List<T>listIterator in interface ListIterable<T>listIterator in class AbstractMutableList<T>Copyright © 2004–2022. All rights reserved.