Uses of Interface
org.eclipse.collections.api.list.MutableList
-
Packages that use MutableList Package Description org.eclipse.collections.api This package contains interfaces for Eclipse Collections API.org.eclipse.collections.api.bag This package contains interfaces for Bag API.org.eclipse.collections.api.bag.primitive This package contains API for Primitive Bags with Mutable and Immutable variants.org.eclipse.collections.api.bag.sorted This package contains interfaces for SortedBag API.org.eclipse.collections.api.collection org.eclipse.collections.api.factory.list This package contains factory API for creating instances of typeListIterable.org.eclipse.collections.api.list This package contains interfaces for list API which enhance the performance and functionality ofList.org.eclipse.collections.api.list.primitive This package contains mutable and immutable primitive list API.org.eclipse.collections.api.map This package contains interfaces for map API which enhance the performance and functionality ofMaporg.eclipse.collections.api.map.sorted This package contains mutable and immutable sorted map interfaces.org.eclipse.collections.api.multimap.list This package contains interfaces forListMultimap.org.eclipse.collections.api.partition.list This package contains interfaces forPartitionList.org.eclipse.collections.api.set.sorted This package contains interfaces for sorted set API. -
-
Uses of MutableList in org.eclipse.collections.api
Methods in org.eclipse.collections.api that return MutableList Modifier and Type Method Description MutableList<T>ParallelIterable. toList()MutableList<T>RichIterable. toList()Converts the collection to a MutableList implementation.default MutableList<T>ParallelIterable. toSortedList()MutableList<T>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 MutableList Modifier and Type Method Description MutableList<ObjectIntPair<T>>MutableBagIterable. bottomOccurrences(int count)MutableList<ObjectIntPair<T>>MutableBagIterable. topOccurrences(int count) -
Uses of MutableList in org.eclipse.collections.api.bag.primitive
Methods in org.eclipse.collections.api.bag.primitive that return MutableList Modifier and Type Method Description MutableList<BooleanIntPair>MutableBooleanBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<ByteIntPair>MutableByteBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<CharIntPair>MutableCharBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<DoubleIntPair>MutableDoubleBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<FloatIntPair>MutableFloatBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<IntIntPair>MutableIntBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<LongIntPair>MutableLongBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<ShortIntPair>MutableShortBag. bottomOccurrences(int count)Returns thecountleast frequently occurring items.MutableList<BooleanIntPair>MutableBooleanBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<ByteIntPair>MutableByteBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<CharIntPair>MutableCharBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<DoubleIntPair>MutableDoubleBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<FloatIntPair>MutableFloatBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<IntIntPair>MutableIntBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<LongIntPair>MutableLongBag. topOccurrences(int count)Returns thecountmost frequently occurring items.MutableList<ShortIntPair>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 MutableList Modifier and Type Method Description <V> MutableList<V>MutableSortedBag. collect(Function<? super T,? extends V> function)<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>>MutableSortedBag. zip(Iterable<S> that) -
Uses of MutableList in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection that return types with arguments of type MutableList Modifier and Type Method Description <P> Twin<MutableList<T>>MutableCollection. selectAndRejectWith(Predicate2<? super T,? super P> predicate, P parameter)Deprecated.since 6.0 useRichIterable.partitionWith(Predicate2, Object)instead. -
Uses of MutableList in org.eclipse.collections.api.factory.list
Methods in org.eclipse.collections.api.factory.list that return MutableList Modifier and Type Method Description <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>MutableListFactory. ofAll(Iterable<? extends T> iterable)Same asMutableListFactory.withAll(Iterable).default <T> MutableList<T>MutableListFactory. ofInitialCapacity(int capacity)Same asMutableListFactory.empty().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>MutableListFactory. withAll(Iterable<? extends T> iterable)<T> MutableList<T>MutableListFactory. withInitialCapacity(int capacity)Same asMutableListFactory.empty().<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.list Modifier and Type Interface Description interfaceFixedSizeList<T>A FixedSizeList is a list that may be mutated, but cannot grow or shrink in size.interfaceMultiReaderList<T>A MultiReaderList provides thread-safe iteration for a list through methodswithReadLockAndDelegate()andwithWriteLockAndDelegate().Methods in org.eclipse.collections.api.list that return MutableList Modifier and Type Method Description MutableList<T>MutableList. asSynchronized()MutableList<T>MutableList. asUnmodifiable()Returns an unmodifiable view of the list.MutableList<T>MutableList. clone()default <V> MutableList<V>MutableList. collect(Function<? super T,? extends V> function)default <V> MutableList<V>MutableList. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)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<T>MutableList. distinct()Returns a newListIterablecontaining the distinct elements in this list.MutableList<T>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<T>MutableList. drop(int count)MutableList<T>MutableList. dropWhile(Predicate<? super T> predicate)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<T>MutableList. newEmpty()default MutableList<T>MutableList. reject(Predicate<? super T> predicate)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>MutableList. select(Predicate<? super T> predicate)<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<T>MutableList. sortThisByBoolean(BooleanFunction<? super T> function)MutableList<T>MutableList. sortThisByByte(ByteFunction<? super T> function)MutableList<T>MutableList. sortThisByChar(CharFunction<? super T> function)MutableList<T>MutableList. sortThisByDouble(DoubleFunction<? super T> function)MutableList<T>MutableList. sortThisByFloat(FloatFunction<? super T> function)MutableList<T>MutableList. sortThisByInt(IntFunction<? super T> function)MutableList<T>MutableList. sortThisByLong(LongFunction<? super T> function)MutableList<T>MutableList. sortThisByShort(ShortFunction<? super T> function)MutableList<T>MutableList. subList(int fromIndex, int toIndex)MutableList<T>MutableList. take(int count)MutableList<T>MutableList. takeWhile(Predicate<? super T> predicate)default MutableList<T>MutableList. tap(Procedure<? super T> procedure)default MutableList<T>MutableList. toReversed()Returns a new MutableList in reverse order.MutableList<T>FixedSizeList. with(T element)default MutableList<T>MutableList. with(T element)MutableList<T>FixedSizeList. withAll(Iterable<? extends T> elements)default MutableList<T>MutableList. withAll(Iterable<? extends T> elements)MutableList<T>FixedSizeList. without(T element)default MutableList<T>MutableList. without(T element)MutableList<T>FixedSizeList. withoutAll(Iterable<? extends T> elements)default MutableList<T>MutableList. withoutAll(Iterable<? extends T> elements)<S> MutableList<Pair<T,S>>MutableList. zip(Iterable<S> that)MutableList<Pair<T,Integer>>MutableList. zipWithIndex()Method parameters in org.eclipse.collections.api.list with type arguments of type MutableList Modifier and Type Method Description voidMultiReaderList. 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 MutableList Modifier and Type Method Description MutableList<Boolean>MutableBooleanList. boxed()MutableList<Byte>MutableByteList. boxed()MutableList<Character>MutableCharList. boxed()MutableList<Double>MutableDoubleList. boxed()MutableList<Float>MutableFloatList. boxed()MutableList<Integer>MutableIntList. boxed()MutableList<Long>MutableLongList. boxed()MutableList<Short>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>>MutableBooleanList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableBooleanListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<ByteObjectPair<T>>MutableByteList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableByteListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<CharObjectPair<T>>MutableCharList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableCharListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<DoubleObjectPair<T>>MutableDoubleList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableDoubleListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<FloatObjectPair<T>>MutableFloatList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableFloatListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<IntObjectPair<T>>MutableIntList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableIntListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<LongObjectPair<T>>MutableLongList. zip(Iterable<T> list)Returns aMutableListformed from thisMutableLongListand aListIterableby combining corresponding elements in pairs.default <T> MutableList<ShortObjectPair<T>>MutableShortList. zip(Iterable<T> list)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 MutableList Modifier and Type Method Description <VV> MutableList<VV>MutableOrderedMap. collect(Function<? super V,? extends VV> function)<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)MutableList<V>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)MutableList<V>MutableOrderedMap. reject(Predicate<? super V> predicate)<P> MutableList<V>MutableOrderedMap. rejectWith(Predicate2<? super V,? super P> predicate, P parameter)MutableList<V>MutableOrderedMap. select(Predicate<? super V> predicate)<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. zip(Iterable<S> that)MutableList<Pair<V,Integer>>MutableOrderedMap. zipWithIndex() -
Uses of MutableList in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted that return MutableList Modifier and Type Method Description <R> MutableList<R>MutableSortedMap. collect(Function<? super V,? extends R> function)<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)MutableList<V>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)MutableList<V>MutableSortedMap. reject(Predicate<? super V> predicate)<P> MutableList<V>MutableSortedMap. rejectWith(Predicate2<? super V,? super P> predicate, P parameter)MutableList<V>MutableSortedMap. select(Predicate<? super V> predicate)<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. zip(Iterable<S> that)MutableList<Pair<V,Integer>>MutableSortedMap. zipWithIndex() -
Uses of MutableList in org.eclipse.collections.api.multimap.list
Methods in org.eclipse.collections.api.multimap.list that return MutableList Modifier and Type Method Description MutableList<V>MutableListMultimap. get(K key)MutableList<V>MutableListMultimap. getIfAbsentPutAll(K key, Iterable<? extends V> values)MutableList<V>MutableListMultimap. removeAll(Object key)MutableList<V>MutableListMultimap. replaceValues(K key, Iterable<? extends V> values)Method parameters in org.eclipse.collections.api.multimap.list with type arguments of type MutableList Modifier and Type Method Description voidMutableListMultimap. 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 MutableList Modifier and Type Method Description MutableList<T>PartitionMutableList. getRejected()MutableList<T>PartitionMutableList. getSelected() -
Uses of MutableList in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted that return MutableList Modifier and Type Method Description <V> MutableList<V>MutableSortedSet. collect(Function<? super T,? extends V> function)<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>>MutableSortedSet. zip(Iterable<S> that)
-