Uses of Interface
org.eclipse.collections.api.list.ListIterable
Package
Description
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 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
Map
This 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.
This package contains interfaces for stack API.
This package contains implementations of the
LazyIterable
interface.This package contains implementations of the
FixedSizeList
interface.This package contains implementations of the
MutableList
interface.This package contains implementations of the
MutableStack
interface.This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
-
Uses of ListIterable in org.eclipse.collections.api.bag
Modifier and TypeMethodDescriptionBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.Bag.topOccurrences
(int count) Returns thecount
most frequently occurring items. -
Uses of ListIterable in org.eclipse.collections.api.bag.primitive
Modifier and TypeMethodDescriptionBooleanBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.ByteBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.CharBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.DoubleBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.FloatBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.IntBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.LongBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.ShortBag.bottomOccurrences
(int count) Returns thecount
least frequently occurring items.BooleanBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.ByteBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.CharBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.DoubleBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.FloatBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.IntBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.LongBag.topOccurrences
(int count) Returns thecount
most frequently occurring items.ShortBag.topOccurrences
(int count) Returns thecount
most frequently occurring items. -
Uses of ListIterable in org.eclipse.collections.api.bag.sorted
Modifier and TypeMethodDescription<V> ListIterable<V>
<V> ListIterable<V>
<P,
V> ListIterable<V> SortedBag.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> ListIterable<V>
SortedBag.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> ListIterable<V>
SortedBag.collectWithOccurrences
(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> ListIterable<V>
SortedBag.flatCollect
(Function<? super T, ? extends Iterable<V>> function) default <P,
V> ListIterable<V> SortedBag.flatCollectWith
(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) -
Uses of ListIterable in org.eclipse.collections.api.list
Modifier and TypeInterfaceDescriptioninterface
A FixedSizeList is a list that may be mutated, but cannot grow or shrink in size.interface
ImmutableList is the non-modifiable equivalent interface toMutableList
.interface
A MultiReaderList provides thread-safe iteration for a list through methodswithReadLockAndDelegate()
andwithWriteLockAndDelegate()
.interface
MutableList<T>
A MutableList is an extension of java.util.List which provides methods matching the Smalltalk Collection protocol.Modifier and TypeMethodDescription<V> ListIterable<V>
<V> ListIterable<V>
<P,
V> ListIterable<V> ListIterable.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> ListIterable<V>
ListIterable.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) ListIterable.distinct()
Returns a newListIterable
containing the distinct elements in this list.ListIterable.distinct
(HashingStrategy<? super T> hashingStrategy) Returns a newListIterable
containing the distinct elements in this list.<V> ListIterable<T>
ListIterable.distinctBy
(Function<? super T, ? extends V> function) Returns a newListIterable
containing the distinct elements in this list.ListIterable.drop
(int count) Returns the final elements that do not satisfy the Predicate.<V> ListIterable<V>
ListIterable.flatCollect
(Function<? super T, ? extends Iterable<V>> function) default <P,
V> ListIterable<V> ListIterable.flatCollectWith
(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) <P> ListIterable<T>
ListIterable.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) default ListIterable<T>
ListIterable.rejectWithIndex
(ObjectIntPredicate<? super T> predicate) Returns a new ListIterable with all elements of the collection that return false when evaluating the specified predicate which is supplied each element and its relative index.<S> ListIterable<S>
ListIterable.selectInstancesOf
(Class<S> clazz) <P> ListIterable<T>
ListIterable.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) default ListIterable<T>
ListIterable.selectWithIndex
(ObjectIntPredicate<? super T> predicate) Returns a new ListIterable with all elements of the collection that return true when evaluating the specified predicate which is supplied each element and its relative index.ListIterable.subList
(int fromIndex, int toIndex) ListIterable.take
(int count) Returns the initial elements that satisfy the Predicate.ListIterable.toReversed()
<S> ListIterable<Pair<T,
S>> ListIterable.zipWithIndex()
Modifier and TypeMethodDescriptiondefault <T2> void
ListIterable.forEachInBoth
(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) Iterates over this ListIterable and the other ListIterable together passing the elements of each list as parameters to the specified procedure. -
Uses of ListIterable in org.eclipse.collections.api.list.primitive
Modifier and TypeMethodDescription<V> ListIterable<V>
BooleanList.collect
(BooleanToObjectFunction<? extends V> function) <V> ListIterable<V>
ByteList.collect
(ByteToObjectFunction<? extends V> function) <V> ListIterable<V>
CharList.collect
(CharToObjectFunction<? extends V> function) <V> ListIterable<V>
DoubleList.collect
(DoubleToObjectFunction<? extends V> function) <V> ListIterable<V>
FloatList.collect
(FloatToObjectFunction<? extends V> function) <V> ListIterable<V>
IntList.collect
(IntToObjectFunction<? extends V> function) <V> ListIterable<V>
LongList.collect
(LongToObjectFunction<? extends V> function) <V> ListIterable<V>
ShortList.collect
(ShortToObjectFunction<? extends V> function) default <V> ListIterable<V>
BooleanList.collectWithIndex
(BooleanIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
ByteList.collectWithIndex
(ByteIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
CharList.collectWithIndex
(CharIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
DoubleList.collectWithIndex
(DoubleIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
FloatList.collectWithIndex
(FloatIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
IntList.collectWithIndex
(IntIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
LongList.collectWithIndex
(LongIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <V> ListIterable<V>
ShortList.collectWithIndex
(ShortIntToObjectFunction<? extends V> function) Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.default <T> ListIterable<BooleanObjectPair<T>>
Returns aListIterable
formed from thisBooleanList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<ByteObjectPair<T>>
Returns aListIterable
formed from thisByteList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<CharObjectPair<T>>
Returns aListIterable
formed from thisCharList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<DoubleObjectPair<T>>
Returns aListIterable
formed from thisDoubleList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<FloatObjectPair<T>>
Returns aListIterable
formed from thisFloatList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<IntObjectPair<T>>
Returns aListIterable
formed from thisIntList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<LongObjectPair<T>>
Returns aListIterable
formed from thisLongList
and aListIterable
by combining corresponding elements in pairs.default <T> ListIterable<ShortObjectPair<T>>
Returns aListIterable
formed from thisShortList
and aListIterable
by combining corresponding elements in pairs.default ListIterable<BooleanBooleanPair>
BooleanList.zipBoolean
(BooleanIterable iterable) Returns aListIterable
formed from thisBooleanList
and anotherBooleanList
by combining corresponding elements in pairs.default ListIterable<ByteBytePair>
ByteList.zipByte
(ByteIterable iterable) Returns aListIterable
formed from thisByteList
and anotherByteList
by combining corresponding elements in pairs.default ListIterable<CharCharPair>
CharList.zipChar
(CharIterable iterable) Returns aListIterable
formed from thisCharList
and anotherCharList
by combining corresponding elements in pairs.default ListIterable<DoubleDoublePair>
DoubleList.zipDouble
(DoubleIterable iterable) Returns aListIterable
formed from thisDoubleList
and anotherDoubleList
by combining corresponding elements in pairs.default ListIterable<FloatFloatPair>
FloatList.zipFloat
(FloatIterable iterable) Returns aListIterable
formed from thisFloatList
and anotherFloatList
by combining corresponding elements in pairs.default ListIterable<IntIntPair>
IntList.zipInt
(IntIterable iterable) Returns aListIterable
formed from thisIntList
and anotherIntList
by combining corresponding elements in pairs.default ListIterable<LongLongPair>
LongList.zipLong
(LongIterable iterable) Returns aListIterable
formed from thisLongList
and anotherLongList
by combining corresponding elements in pairs.default ListIterable<ShortShortPair>
ShortList.zipShort
(ShortIterable iterable) Returns aListIterable
formed from thisShortList
and anotherShortList
by combining corresponding elements in pairs. -
Uses of ListIterable in org.eclipse.collections.api.map
Modifier and TypeMethodDescription<VV> ListIterable<VV>
<V1> ListIterable<V1>
<P,
V1> ListIterable<V1> OrderedMap.collectWith
(Function2<? super V, ? super P, ? extends V1> function, P parameter) OrderedMap.distinct()
<V1> ListIterable<V1>
OrderedMap.flatCollect
(Function<? super V, ? extends Iterable<V1>> function) default <P,
V1> ListIterable<V1> OrderedMap.flatCollectWith
(Function2<? super V, ? super P, ? extends Iterable<V1>> function, P parameter) <P> ListIterable<V>
OrderedMap.rejectWith
(Predicate2<? super V, ? super P> predicate, P parameter) <S> ListIterable<S>
OrderedMap.selectInstancesOf
(Class<S> clazz) <P> ListIterable<V>
OrderedMap.selectWith
(Predicate2<? super V, ? super P> predicate, P parameter) <S> ListIterable<Pair<V,
S>> OrderedMap.zipWithIndex()
-
Uses of ListIterable in org.eclipse.collections.api.map.sorted
Modifier and TypeMethodDescription<V1> ListIterable<V1>
<V1> ListIterable<V1>
SortedMapIterable.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) <P,
V1> ListIterable<V1> SortedMapIterable.collectWith
(Function2<? super V, ? super P, ? extends V1> function, P parameter) default <V1> ListIterable<V1>
SortedMapIterable.collectWithIndex
(ObjectIntToObjectFunction<? super V, ? extends V1> function) SortedMapIterable.distinct()
<V1> ListIterable<V1>
SortedMapIterable.flatCollect
(Function<? super V, ? extends Iterable<V1>> function) default <P,
V1> ListIterable<V1> SortedMapIterable.flatCollectWith
(Function2<? super V, ? super P, ? extends Iterable<V1>> function, P parameter) <P> ListIterable<V>
SortedMapIterable.rejectWith
(Predicate2<? super V, ? super P> predicate, P parameter) <S> ListIterable<S>
SortedMapIterable.selectInstancesOf
(Class<S> clazz) <P> ListIterable<V>
SortedMapIterable.selectWith
(Predicate2<? super V, ? super P> predicate, P parameter) <S> ListIterable<Pair<V,
S>> SortedMapIterable.zipWithIndex()
-
Uses of ListIterable in org.eclipse.collections.api.multimap.list
-
Uses of ListIterable in org.eclipse.collections.api.ordered
-
Uses of ListIterable in org.eclipse.collections.api.partition.list
-
Uses of ListIterable in org.eclipse.collections.api.set.sorted
Modifier and TypeMethodDescription<V> ListIterable<V>
<V> ListIterable<V>
SortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <P,
V> ListIterable<V> SortedSetIterable.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) default <V> ListIterable<V>
SortedSetIterable.collectWithIndex
(ObjectIntToObjectFunction<? super T, ? extends V> function) <V> ListIterable<V>
SortedSetIterable.flatCollect
(Function<? super T, ? extends Iterable<V>> function) default <P,
V> ListIterable<V> SortedSetIterable.flatCollectWith
(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter) -
Uses of ListIterable in org.eclipse.collections.api.stack
Modifier and TypeMethodDescriptionStackIterable.peek
(int count) MutableStack.pop
(int count) Removes and returns a ListIterable of the number of elements specified by the count, beginning with the top of the stack.Modifier and TypeMethodDescriptiondefault Pair<ListIterable<T>,
ImmutableStack<T>> ImmutableStack.peekAndPop
(int count) -
Uses of ListIterable in org.eclipse.collections.impl.lazy
Modifier and TypeMethodDescriptionstatic <T> ReverseIterable<T>
ReverseIterable.adapt
(ListIterable<T> listIterable) -
Uses of ListIterable in org.eclipse.collections.impl.lazy.parallel.list
ModifierConstructorDescriptionListIterableBatch
(ListIterable<T> list, int chunkStartIndex, int chunkEndIndex) ListIterableParallelIterable
(ListIterable<T> delegate, ExecutorService executorService, int batchSize) NonParallelListIterable
(ListIterable<T> delegate) -
Uses of ListIterable in org.eclipse.collections.impl.list.fixed
Modifier and TypeClassDescriptionclass
class
final class
ArrayAdapter<T>
This class provides a MutableList wrapper around an array. -
Uses of ListIterable in org.eclipse.collections.impl.list.mutable
Modifier and TypeClassDescriptionclass
class
final class
This class provides a MutableList wrapper around a JDK Collections ArrayList instance.final class
CompositeFastList behaves like a list, but is composed of at least one list.class
FastList<T>
FastList is an attempt to provide the same functionality as ArrayList without the support for concurrent modification exceptions.final class
ListAdapter<T>
This class provides a MutableList wrapper around a JDK Collections List interface instance.final class
MultiReadFastList provides a thread-safe wrapper around a FastList, using a ReentrantReadWriteLock.final class
This class provides a MutableList wrapper around a JDK Collections List interface instance.class
A synchronized view of aMutableList
.class
An unmodifiable view of a list.Modifier and TypeMethodDescription<T2> void
MultiReaderFastList.forEachInBoth
(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) <T2> void
SynchronizedMutableList.forEachInBoth
(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) -
Uses of ListIterable in org.eclipse.collections.impl.stack.mutable
-
Uses of ListIterable in org.eclipse.collections.impl.utility.internal
Modifier and TypeMethodDescriptionstatic <T> void
InternalArrayIterate.appendString
(ListIterable<T> iterable, T[] array, int size, Appendable appendable, String start, String separator, String end)