public class UnmodifiableMutableList<T> extends AbstractUnmodifiableMutableCollection<T> implements MutableList<T>, Serializable
MutableList.asUnmodifiable(),
Serialized Formadd, addAll, addAllIterable, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, clear, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsNone, containsNoneIterable, count, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoWith, into, isEmpty, iterator, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, remove, removeAll, removeAllIterable, removeIf, removeIfWith, retainAll, retainAllIterable, select, selectAndRejectWith, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedList, toSortedList, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toString, zip, zipWithIndexcollectWithIndex, flatCollectWith, rejectWithIndex, selectWithIndex, toImmutableListaddAllIterable, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streambinarySearch, binarySearch, forEachInBoth, getFirst, getLastcollectWithIndex, forEachWithIndex, getFirstOptional, getLastOptional, 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, toStringforEachWithpublic static <E,L extends List<E>> UnmodifiableMutableList<E> of(L list)
public boolean equals(Object obj)
public int hashCode()
public MutableList<T> asUnmodifiable()
asUnmodifiable in interface MutableCollection<T>asUnmodifiable in interface MutableList<T>asUnmodifiable in class AbstractUnmodifiableMutableCollection<T>public ImmutableList<T> toImmutable()
toImmutable in interface MutableCollection<T>toImmutable in interface ListIterable<T>toImmutable in interface MutableList<T>toImmutable in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> asSynchronized()
asSynchronized in interface MutableCollection<T>asSynchronized in interface MutableList<T>asSynchronized in class AbstractUnmodifiableMutableCollection<T>public UnmodifiableMutableList<T> clone()
clone in interface MutableList<T>clone in class Objectpublic MutableList<T> newEmpty()
newEmpty in interface MutableCollection<T>newEmpty in interface MutableList<T>newEmpty in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> tap(Procedure<? super T> procedure)
tap in interface MutableCollection<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 AbstractUnmodifiableMutableCollection<T>public <S> boolean corresponds(OrderedIterable<S> other, Predicate2<? super T,? super S> predicate)
corresponds in interface OrderedIterable<T>public void forEach(int fromIndex,
int toIndex,
Procedure<? super T> procedure)
forEach in interface OrderedIterable<T>public void reverseForEach(Procedure<? super T> procedure)
reverseForEach in interface ReversibleIterable<T>public void reverseForEachWithIndex(ObjectIntProcedure<? super T> procedure)
reverseForEachWithIndex in interface ReversibleIterable<T>public void forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface OrderedIterable<T>public UnmodifiableMutableList<T> sortThis(Comparator<? super T> comparator)
sortThis in interface MutableList<T>public UnmodifiableMutableList<T> sortThis()
sortThis in interface MutableList<T>public MutableList<T> toReversed()
toReversed in interface ListIterable<T>toReversed in interface MutableList<T>toReversed in interface ReversibleIterable<T>public MutableList<T> reverseThis()
reverseThis in interface MutableList<T>public MutableList<T> shuffleThis()
shuffleThis in interface MutableList<T>public MutableList<T> shuffleThis(Random rnd)
shuffleThis in interface MutableList<T>public <V extends Comparable<? super V>> MutableList<T> sortThisBy(Function<? super T,? extends V> function)
sortThisBy in interface MutableList<T>public void replaceAll(UnaryOperator<T> operator)
replaceAll in interface List<T>public void sort(Comparator<? super T> comparator)
public MutableList<T> sortThisByInt(IntFunction<? super T> function)
sortThisByInt in interface MutableList<T>public MutableList<T> sortThisByBoolean(BooleanFunction<? super T> function)
sortThisByBoolean in interface MutableList<T>public MutableList<T> sortThisByChar(CharFunction<? super T> function)
sortThisByChar in interface MutableList<T>public MutableList<T> sortThisByByte(ByteFunction<? super T> function)
sortThisByByte in interface MutableList<T>public MutableList<T> sortThisByShort(ShortFunction<? super T> function)
sortThisByShort in interface MutableList<T>public MutableList<T> sortThisByFloat(FloatFunction<? super T> function)
sortThisByFloat in interface MutableList<T>public MutableList<T> sortThisByLong(LongFunction<? super T> function)
sortThisByLong in interface MutableList<T>public MutableList<T> sortThisByDouble(DoubleFunction<? super T> function)
sortThisByDouble in interface MutableList<T>public boolean addAll(int index,
Collection<? extends T> collection)
public T get(int index)
public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf in interface List<T>lastIndexOf in interface ListIterable<T>public ListIterator<T> listIterator()
listIterator in interface List<T>listIterator in interface ListIterable<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>listIterator in interface ListIterable<T>public UnmodifiableMutableList<T> subList(int fromIndex, int toIndex)
subList in interface List<T>subList in interface ListIterable<T>subList in interface MutableList<T>public <P,A> MutableList<A> collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
collectWith in interface MutableCollection<T>collectWith in interface ListIterable<T>collectWith in interface MutableList<T>collectWith in interface OrderedIterable<T>collectWith in interface ReversibleIterable<T>collectWith in interface RichIterable<T>collectWith in class AbstractUnmodifiableMutableCollection<T>public <V> MutableList<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface ListIterable<T>collect in interface MutableList<T>collect in interface OrderedIterable<T>collect in interface ReversibleIterable<T>collect in interface RichIterable<T>collect in class AbstractUnmodifiableMutableCollection<T>public MutableBooleanList collectBoolean(BooleanFunction<? super T> booleanFunction)
collectBoolean in interface MutableCollection<T>collectBoolean in interface ListIterable<T>collectBoolean in interface MutableList<T>collectBoolean in interface OrderedIterable<T>collectBoolean in interface ReversibleIterable<T>collectBoolean in interface RichIterable<T>collectBoolean in class AbstractUnmodifiableMutableCollection<T>public MutableByteList collectByte(ByteFunction<? super T> byteFunction)
collectByte in interface MutableCollection<T>collectByte in interface ListIterable<T>collectByte in interface MutableList<T>collectByte in interface OrderedIterable<T>collectByte in interface ReversibleIterable<T>collectByte in interface RichIterable<T>collectByte in class AbstractUnmodifiableMutableCollection<T>public MutableCharList collectChar(CharFunction<? super T> charFunction)
collectChar in interface MutableCollection<T>collectChar in interface ListIterable<T>collectChar in interface MutableList<T>collectChar in interface OrderedIterable<T>collectChar in interface ReversibleIterable<T>collectChar in interface RichIterable<T>collectChar in class AbstractUnmodifiableMutableCollection<T>public MutableDoubleList collectDouble(DoubleFunction<? super T> doubleFunction)
collectDouble in interface MutableCollection<T>collectDouble in interface ListIterable<T>collectDouble in interface MutableList<T>collectDouble in interface OrderedIterable<T>collectDouble in interface ReversibleIterable<T>collectDouble in interface RichIterable<T>collectDouble in class AbstractUnmodifiableMutableCollection<T>public MutableFloatList collectFloat(FloatFunction<? super T> floatFunction)
collectFloat in interface MutableCollection<T>collectFloat in interface ListIterable<T>collectFloat in interface MutableList<T>collectFloat in interface OrderedIterable<T>collectFloat in interface ReversibleIterable<T>collectFloat in interface RichIterable<T>collectFloat in class AbstractUnmodifiableMutableCollection<T>public MutableIntList collectInt(IntFunction<? super T> intFunction)
collectInt in interface MutableCollection<T>collectInt in interface ListIterable<T>collectInt in interface MutableList<T>collectInt in interface OrderedIterable<T>collectInt in interface ReversibleIterable<T>collectInt in interface RichIterable<T>collectInt in class AbstractUnmodifiableMutableCollection<T>public MutableLongList collectLong(LongFunction<? super T> longFunction)
collectLong in interface MutableCollection<T>collectLong in interface ListIterable<T>collectLong in interface MutableList<T>collectLong in interface OrderedIterable<T>collectLong in interface ReversibleIterable<T>collectLong in interface RichIterable<T>collectLong in class AbstractUnmodifiableMutableCollection<T>public MutableShortList collectShort(ShortFunction<? super T> shortFunction)
collectShort in interface MutableCollection<T>collectShort in interface ListIterable<T>collectShort in interface MutableList<T>collectShort in interface OrderedIterable<T>collectShort in interface ReversibleIterable<T>collectShort in interface RichIterable<T>collectShort in class AbstractUnmodifiableMutableCollection<T>public <V> MutableList<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface MutableCollection<T>flatCollect in interface ListIterable<T>flatCollect in interface MutableList<T>flatCollect in interface OrderedIterable<T>flatCollect in interface ReversibleIterable<T>flatCollect in interface RichIterable<T>flatCollect in class AbstractUnmodifiableMutableCollection<T>public <V> MutableList<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface MutableCollection<T>collectIf in interface ListIterable<T>collectIf in interface MutableList<T>collectIf in interface OrderedIterable<T>collectIf in interface ReversibleIterable<T>collectIf in interface RichIterable<T>collectIf in class AbstractUnmodifiableMutableCollection<T>public int detectIndex(Predicate<? super T> predicate)
detectIndex in interface OrderedIterable<T>public int detectLastIndex(Predicate<? super T> predicate)
detectLastIndex in interface ReversibleIterable<T>public <V> MutableListMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy in interface MutableCollection<T>groupBy in interface ListIterable<T>groupBy in interface MutableList<T>groupBy in interface OrderedIterable<T>groupBy in interface ReversibleIterable<T>groupBy in interface RichIterable<T>groupBy in class AbstractUnmodifiableMutableCollection<T>public <V> MutableListMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach in interface MutableCollection<T>groupByEach in interface ListIterable<T>groupByEach in interface MutableList<T>groupByEach in interface OrderedIterable<T>groupByEach in interface ReversibleIterable<T>groupByEach in interface RichIterable<T>groupByEach in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> reject(Predicate<? super T> predicate)
reject in interface MutableCollection<T>reject in interface ListIterable<T>reject in interface MutableList<T>reject in interface OrderedIterable<T>reject in interface ReversibleIterable<T>reject in interface RichIterable<T>reject in class AbstractUnmodifiableMutableCollection<T>public <P> MutableList<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface MutableCollection<T>rejectWith in interface ListIterable<T>rejectWith in interface MutableList<T>rejectWith in interface OrderedIterable<T>rejectWith in interface ReversibleIterable<T>rejectWith in interface RichIterable<T>rejectWith in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> select(Predicate<? super T> predicate)
select in interface MutableCollection<T>select in interface ListIterable<T>select in interface MutableList<T>select in interface OrderedIterable<T>select in interface ReversibleIterable<T>select in interface RichIterable<T>select in class AbstractUnmodifiableMutableCollection<T>public <P> MutableList<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface MutableCollection<T>selectWith in interface ListIterable<T>selectWith in interface MutableList<T>selectWith in interface OrderedIterable<T>selectWith in interface ReversibleIterable<T>selectWith in interface RichIterable<T>selectWith in class AbstractUnmodifiableMutableCollection<T>public PartitionMutableList<T> partition(Predicate<? super T> predicate)
partition in interface MutableCollection<T>partition in interface ListIterable<T>partition in interface MutableList<T>partition in interface OrderedIterable<T>partition in interface ReversibleIterable<T>partition in interface RichIterable<T>partition in class AbstractUnmodifiableMutableCollection<T>public <P> PartitionMutableList<T> partitionWith(Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface MutableCollection<T>partitionWith in interface ListIterable<T>partitionWith in interface MutableList<T>partitionWith in interface OrderedIterable<T>partitionWith in interface ReversibleIterable<T>partitionWith in interface RichIterable<T>partitionWith in class AbstractUnmodifiableMutableCollection<T>public <S> MutableList<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableCollection<T>selectInstancesOf in interface ListIterable<T>selectInstancesOf in interface MutableList<T>selectInstancesOf in interface OrderedIterable<T>selectInstancesOf in interface ReversibleIterable<T>selectInstancesOf in interface RichIterable<T>selectInstancesOf in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> distinct()
distinct in interface ListIterable<T>distinct in interface MutableList<T>distinct in interface OrderedIterable<T>distinct in interface ReversibleIterable<T>public MutableList<T> distinct(HashingStrategy<? super T> hashingStrategy)
distinct in interface ListIterable<T>distinct in interface MutableList<T>public <V> MutableList<T> distinctBy(Function<? super T,? extends V> function)
distinctBy in interface ListIterable<T>distinctBy in interface MutableList<T>public <S> MutableList<Pair<T,S>> zip(Iterable<S> that)
zip in interface MutableCollection<T>zip in interface ListIterable<T>zip in interface MutableList<T>zip in interface OrderedIterable<T>zip in interface ReversibleIterable<T>zip in interface RichIterable<T>zip in class AbstractUnmodifiableMutableCollection<T>public MutableList<Pair<T,Integer>> zipWithIndex()
zipWithIndex in interface MutableCollection<T>zipWithIndex in interface ListIterable<T>zipWithIndex in interface MutableList<T>zipWithIndex in interface OrderedIterable<T>zipWithIndex in interface ReversibleIterable<T>zipWithIndex in interface RichIterable<T>zipWithIndex in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> take(int count)
take in interface ListIterable<T>take in interface MutableList<T>take in interface ReversibleIterable<T>public MutableList<T> takeWhile(Predicate<? super T> predicate)
takeWhile in interface ListIterable<T>takeWhile in interface MutableList<T>takeWhile in interface OrderedIterable<T>takeWhile in interface ReversibleIterable<T>public MutableList<T> drop(int count)
drop in interface ListIterable<T>drop in interface MutableList<T>drop in interface ReversibleIterable<T>public MutableList<T> dropWhile(Predicate<? super T> predicate)
dropWhile in interface ListIterable<T>dropWhile in interface MutableList<T>dropWhile in interface OrderedIterable<T>dropWhile in interface ReversibleIterable<T>public PartitionMutableList<T> partitionWhile(Predicate<? super T> predicate)
partitionWhile in interface ListIterable<T>partitionWhile in interface MutableList<T>partitionWhile in interface OrderedIterable<T>partitionWhile in interface ReversibleIterable<T>public LazyIterable<T> asReversed()
asReversed in interface ReversibleIterable<T>public ParallelListIterable<T> asParallel(ExecutorService executorService, int batchSize)
asParallel in interface ListIterable<T>public MutableList<T> with(T element)
with in interface MutableCollection<T>with in interface MutableList<T>with in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> without(T element)
without in interface MutableCollection<T>without in interface MutableList<T>without in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> withAll(Iterable<? extends T> elements)
withAll in interface MutableCollection<T>withAll in interface MutableList<T>withAll in class AbstractUnmodifiableMutableCollection<T>public MutableList<T> withoutAll(Iterable<? extends T> elements)
withoutAll in interface MutableCollection<T>withoutAll in interface MutableList<T>withoutAll in class AbstractUnmodifiableMutableCollection<T>Copyright © 2004–2022. All rights reserved.