Uses of Interface
org.eclipse.collections.api.list.MutableList
Packages that use MutableList
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains API for Primitive Bags with Mutable and Immutable variants.
This package contains interfaces for SortedBag API.
This package contains factory API for creating instances of type
ListIterable.This package contains interfaces for list API which enhance the performance and functionality of
List.This package contains mutable and immutable primitive list API.
This package contains interfaces for map API which enhance the performance and functionality of
MapThis package contains mutable and immutable sorted map interfaces.
This package contains interfaces for
ListMultimap.This package contains interfaces for
PartitionList.This package contains interfaces for sorted set API.
-
Uses of MutableList in org.eclipse.collections.api
Methods in org.eclipse.collections.api that return MutableListModifier and TypeMethodDescriptionParallelIterable.toList()RichIterable.toList()Converts the collection to a MutableList implementation.default MutableList<T>ParallelIterable.toSortedList()ParallelIterable.toSortedList(Comparator<? super T> comparator) default MutableList<T>RichIterable.toSortedList()Converts the collection to a MutableList implementation and sorts it using the natural order of the elements.default MutableList<T>RichIterable.toSortedList(Comparator<? super T> comparator) Converts the collection to a MutableList implementation and sorts it using the specified comparator.<V extends Comparable<? super V>>
MutableList<T>ParallelIterable.toSortedListBy(Function<? super T, ? extends V> function) default <V extends Comparable<? super V>>
MutableList<T>RichIterable.toSortedListBy(Function<? super T, ? extends V> function) Converts the collection to a MutableList implementation and sorts it based on the natural order of the attribute returned byfunction. -
Uses of MutableList in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag that return MutableListModifier and TypeMethodDescriptionMutableBagIterable.bottomOccurrences(int count) MutableBagIterable.topOccurrences(int count) -
Uses of MutableList in org.eclipse.collections.api.bag.primitive
Methods in org.eclipse.collections.api.bag.primitive that return MutableListModifier and TypeMethodDescriptionMutableBooleanBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableByteBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableCharBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableDoubleBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableFloatBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableIntBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableLongBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableShortBag.bottomOccurrences(int count) Returns thecountleast frequently occurring items.MutableBooleanBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableByteBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableCharBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableDoubleBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableFloatBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableIntBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableLongBag.topOccurrences(int count) Returns thecountmost frequently occurring items.MutableShortBag.topOccurrences(int count) Returns thecountmost frequently occurring items. -
Uses of MutableList in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted that return MutableListModifier and TypeMethodDescription<V> MutableList<V><V> MutableList<V>MutableSortedBag.collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <P,V> MutableList<V> MutableSortedBag.collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> MutableList<V>MutableSortedBag.collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> MutableList<V>MutableSortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> MutableList<V>MutableSortedBag.flatCollect(Function<? super T, ? extends Iterable<V>> function) default <P,V> MutableList<V> MutableSortedBag.flatCollectWith(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) <S> MutableList<Pair<T,S>> -
Uses of MutableList in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection that return types with arguments of type MutableListModifier and TypeMethodDescription<P> Twin<MutableList<T>>MutableCollection.selectAndRejectWith(Predicate2<? super T, ? super P> predicate, P parameter) Deprecated. -
Uses of MutableList in org.eclipse.collections.api.factory.list
Methods in org.eclipse.collections.api.factory.list that return MutableListModifier and TypeMethodDescription<T> MutableList<T>MutableListFactory.empty()<T> MutableList<T>MutableListFactory.fromStream(Stream<? extends T> stream) default <T> MutableList<T>MutableListFactory.of()Same asMutableListFactory.empty().default <T> MutableList<T>MutableListFactory.of(T... items) Same asMutableListFactory.with(Object[]).default <T> MutableList<T>Same asMutableListFactory.withAll(Iterable).default <T> MutableList<T>MutableListFactory.ofInitialCapacity(int capacity) Same asMutableListFactory.empty(). but takes in initial capacity.default <T> MutableList<T>MutableListFactory.with()Same asMutableListFactory.empty().<T> MutableList<T>MutableListFactory.with(T... items) Creates a new list using the passeditemsargument as the backing store.<T> MutableList<T><T> MutableList<T>MutableListFactory.withInitialCapacity(int capacity) Same asMutableListFactory.empty(). but takes in initial capacity.<T> MutableList<T>MutableListFactory.withNValues(int size, Function0<? extends T> factory) default <T> MutableList<T>MutableListFactory.wrapCopy(T... array) Creates a new list by first copying the array passed in. -
Uses of MutableList in org.eclipse.collections.api.list
Subinterfaces of MutableList in org.eclipse.collections.api.listModifier and TypeInterfaceDescriptioninterfaceA FixedSizeList is a list that may be mutated, but cannot grow or shrink in size.interfaceA MultiReaderList provides thread-safe iteration for a list through methodswithReadLockAndDelegate()andwithWriteLockAndDelegate().Methods in org.eclipse.collections.api.list that return MutableListModifier and TypeMethodDescriptionMutableList.asSynchronized()MutableList.asUnmodifiable()Returns an unmodifiable view of the list.MutableList.clone()default <V> MutableList<V>default <V> MutableList<V>default <P,V> MutableList<V> MutableList.collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> MutableList<V>MutableList.collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function) MutableList.distinct()Returns a newListIterablecontaining the distinct elements in this list.MutableList.distinct(HashingStrategy<? super T> hashingStrategy) Returns a newListIterablecontaining the distinct elements in this list.<V> MutableList<T>MutableList.distinctBy(Function<? super T, ? extends V> function) MutableList.drop(int count) default <V> MutableList<V>MutableList.flatCollect(Function<? super T, ? extends Iterable<V>> function) default <P,V> MutableList<V> MutableList.flatCollectWith(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) MutableList.newEmpty()default MutableList<T>default <P> MutableList<T>MutableList.rejectWith(Predicate2<? super T, ? super P> predicate, P parameter) default MutableList<T>MutableList.rejectWithIndex(ObjectIntPredicate<? super T> predicate) Returns a new MutableList with all elements of the collection that return false when evaluating the specified predicate which is supplied each element and its relative index.default MutableList<T>MutableList.reverseThis()Mutates this list by reversing its order and returns the current list as a result.default MutableList<T><S> MutableList<S>MutableList.selectInstancesOf(Class<S> clazz) default <P> MutableList<T>MutableList.selectWith(Predicate2<? super T, ? super P> predicate, P parameter) default MutableList<T>MutableList.selectWithIndex(ObjectIntPredicate<? super T> predicate) Returns a new MutableList with all elements of the collection that return true when evaluating the specified predicate which is supplied each element and its relative index.default MutableList<T>MutableList.shuffleThis()Mutates this list by shuffling its elements.default MutableList<T>MutableList.shuffleThis(Random random) Mutates this list by shuffling its elements using the specified random.default MutableList<T>MutableList.sortThis()Sorts the internal data structure of this list and returns the list itself as a convenience.default MutableList<T>MutableList.sortThis(Comparator<? super T> comparator) Sorts the internal data structure of this list and returns the list itself as a convenience.default <V extends Comparable<? super V>>
MutableList<T>MutableList.sortThisBy(Function<? super T, ? extends V> function) Sorts the internal data structure of this list based on the natural order of the attribute returned byfunction.MutableList.sortThisByBoolean(BooleanFunction<? super T> function) MutableList.sortThisByByte(ByteFunction<? super T> function) MutableList.sortThisByChar(CharFunction<? super T> function) MutableList.sortThisByDouble(DoubleFunction<? super T> function) MutableList.sortThisByFloat(FloatFunction<? super T> function) MutableList.sortThisByInt(IntFunction<? super T> function) MutableList.sortThisByLong(LongFunction<? super T> function) MutableList.sortThisByShort(ShortFunction<? super T> function) MutableList.subList(int fromIndex, int toIndex) MutableList.take(int count) default MutableList<T>default MutableList<T>MutableList.toReversed()Returns a new MutableList in reverse order.default MutableList<T>default MutableList<T>default MutableList<T>FixedSizeList.withoutAll(Iterable<? extends T> elements) default MutableList<T>MutableList.withoutAll(Iterable<? extends T> elements) <S> MutableList<Pair<T,S>> MutableList.zipWithIndex()Method parameters in org.eclipse.collections.api.list with type arguments of type MutableListModifier and TypeMethodDescriptionvoidMultiReaderList.withReadLockAndDelegate(Procedure<? super MutableList<T>> procedure) voidMultiReaderList.withWriteLockAndDelegate(Procedure<? super MutableList<T>> procedure) -
Uses of MutableList in org.eclipse.collections.api.list.primitive
Methods in org.eclipse.collections.api.list.primitive that return MutableListModifier and TypeMethodDescriptionMutableBooleanList.boxed()MutableByteList.boxed()MutableCharList.boxed()MutableDoubleList.boxed()MutableFloatList.boxed()MutableIntList.boxed()MutableLongList.boxed()MutableShortList.boxed()<V> MutableList<V>MutableBooleanList.collect(BooleanToObjectFunction<? extends V> function) <V> MutableList<V>MutableByteList.collect(ByteToObjectFunction<? extends V> function) <V> MutableList<V>MutableCharList.collect(CharToObjectFunction<? extends V> function) <V> MutableList<V>MutableDoubleList.collect(DoubleToObjectFunction<? extends V> function) <V> MutableList<V>MutableFloatList.collect(FloatToObjectFunction<? extends V> function) <V> MutableList<V>MutableIntList.collect(IntToObjectFunction<? extends V> function) <V> MutableList<V>MutableLongList.collect(LongToObjectFunction<? extends V> function) <V> MutableList<V>MutableShortList.collect(ShortToObjectFunction<? extends V> function) default <V> MutableList<V>MutableBooleanList.collectWithIndex(BooleanIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableByteList.collectWithIndex(ByteIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableCharList.collectWithIndex(CharIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableDoubleList.collectWithIndex(DoubleIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableFloatList.collectWithIndex(FloatIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableIntList.collectWithIndex(IntIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableLongList.collectWithIndex(LongIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <V> MutableList<V>MutableShortList.collectWithIndex(ShortIntToObjectFunction<? extends V> function) Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.default <T> MutableList<BooleanObjectPair<T>>Returns aMutableListformed from thisMutableBooleanListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<ByteObjectPair<T>>Returns aMutableListformed from thisMutableByteListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<CharObjectPair<T>>Returns aMutableListformed from thisMutableCharListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<DoubleObjectPair<T>>Returns aMutableListformed from thisMutableDoubleListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<FloatObjectPair<T>>Returns aMutableListformed from thisMutableFloatListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<IntObjectPair<T>>Returns aMutableListformed from thisMutableIntListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<LongObjectPair<T>>Returns aMutableListformed from thisMutableLongListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<ShortObjectPair<T>>Returns aMutableListformed from thisMutableShortListand aListIterableby combining corresponding elements in pairs.default MutableList<BooleanBooleanPair>MutableBooleanList.zipBoolean(BooleanIterable iterable) Returns aMutableListformed from thisMutableBooleanListand anotherBooleanListby combining corresponding elements in pairs.default MutableList<ByteBytePair>MutableByteList.zipByte(ByteIterable iterable) Returns aMutableListformed from thisMutableByteListand anotherByteListby combining corresponding elements in pairs.default MutableList<CharCharPair>MutableCharList.zipChar(CharIterable iterable) Returns aMutableListformed from thisMutableCharListand anotherCharListby combining corresponding elements in pairs.default MutableList<DoubleDoublePair>MutableDoubleList.zipDouble(DoubleIterable iterable) Returns aMutableListformed from thisMutableDoubleListand anotherDoubleListby combining corresponding elements in pairs.default MutableList<FloatFloatPair>MutableFloatList.zipFloat(FloatIterable iterable) Returns aMutableListformed from thisMutableFloatListand anotherFloatListby combining corresponding elements in pairs.default MutableList<IntIntPair>MutableIntList.zipInt(IntIterable iterable) Returns aMutableListformed from thisMutableIntListand anotherIntListby combining corresponding elements in pairs.default MutableList<LongLongPair>MutableLongList.zipLong(LongIterable iterable) Returns aMutableListformed from thisMutableLongListand anotherLongListby combining corresponding elements in pairs.default MutableList<ShortShortPair>MutableShortList.zipShort(ShortIterable iterable) Returns aMutableListformed from thisMutableShortListand anotherShortListby combining corresponding elements in pairs. -
Uses of MutableList in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map that return MutableListModifier and TypeMethodDescription<VV> MutableList<VV><V1> MutableList<V1>MutableOrderedMap.collectIf(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) <P,V1> MutableList<V1> MutableOrderedMap.collectWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) MutableOrderedMap.distinct()<V1> MutableList<V1>MutableOrderedMap.flatCollect(Function<? super V, ? extends Iterable<V1>> function) default <P,V1> MutableList<V1> MutableOrderedMap.flatCollectWith(Function2<? super V, ? super P, ? extends Iterable<V1>> function, P parameter) <P> MutableList<V>MutableOrderedMap.rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableList<S>MutableOrderedMap.selectInstancesOf(Class<S> clazz) <P> MutableList<V>MutableOrderedMap.selectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableList<Pair<V,S>> MutableOrderedMap.zipWithIndex() -
Uses of MutableList in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted that return MutableListModifier and TypeMethodDescription<R> MutableList<R><R> MutableList<R>MutableSortedMap.collectIf(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <P,VV> MutableList<VV> MutableSortedMap.collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) default <R> MutableList<R>MutableSortedMap.collectWithIndex(ObjectIntToObjectFunction<? super V, ? extends R> function) MutableSortedMap.distinct()<R> MutableList<R>MutableSortedMap.flatCollect(Function<? super V, ? extends Iterable<R>> function) default <P,R> MutableList<R> MutableSortedMap.flatCollectWith(Function2<? super V, ? super P, ? extends Iterable<R>> function, P parameter) <P> MutableList<V>MutableSortedMap.rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableList<S>MutableSortedMap.selectInstancesOf(Class<S> clazz) <P> MutableList<V>MutableSortedMap.selectWith(Predicate2<? super V, ? super P> predicate, P parameter) <S> MutableList<Pair<V,S>> MutableSortedMap.zipWithIndex() -
Uses of MutableList in org.eclipse.collections.api.multimap.list
Methods in org.eclipse.collections.api.multimap.list that return MutableListModifier and TypeMethodDescriptionMutableListMultimap.getIfAbsentPutAll(K key, Iterable<? extends V> values) MutableListMultimap.replaceValues(K key, Iterable<? extends V> values) Method parameters in org.eclipse.collections.api.multimap.list with type arguments of type MutableListModifier and TypeMethodDescriptionvoidMutableListMultimap.forEachKeyMutableList(Procedure2<? super K, ? super MutableList<V>> procedure) -
Uses of MutableList in org.eclipse.collections.api.partition.list
Methods in org.eclipse.collections.api.partition.list that return MutableListModifier and TypeMethodDescriptionPartitionMutableList.getRejected()PartitionMutableList.getSelected() -
Uses of MutableList in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted that return MutableListModifier and TypeMethodDescription<V> MutableList<V><V> MutableList<V>MutableSortedSet.collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <P,V> MutableList<V> MutableSortedSet.collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> MutableList<V>MutableSortedSet.collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> MutableList<V>MutableSortedSet.flatCollect(Function<? super T, ? extends Iterable<V>> function) default <P,V> MutableList<V> MutableSortedSet.flatCollectWith(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) <S> MutableList<Pair<T,S>>
RichIterable.partitionWith(Predicate2, Object)instead.