| Package | Description |
|---|---|
| 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.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| 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 of
Map |
| org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| org.eclipse.collections.api.multimap.list |
This package contains interfaces for
ListMultimap. |
| org.eclipse.collections.api.ordered | |
| org.eclipse.collections.api.partition.list |
This package contains interfaces for
PartitionList. |
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
ListIterable<ObjectIntPair<T>> |
Bag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<ObjectIntPair<T>> |
Bag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
| Modifier and Type | Method and Description |
|---|---|
ListIterable<BooleanIntPair> |
BooleanBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<CharIntPair> |
CharBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<ByteIntPair> |
ByteBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<ShortIntPair> |
ShortBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<LongIntPair> |
LongBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<DoubleIntPair> |
DoubleBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<FloatIntPair> |
FloatBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<IntIntPair> |
IntBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ListIterable<BooleanIntPair> |
BooleanBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<CharIntPair> |
CharBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<ByteIntPair> |
ByteBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<ShortIntPair> |
ShortBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<LongIntPair> |
LongBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<DoubleIntPair> |
DoubleBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<FloatIntPair> |
FloatBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<IntIntPair> |
IntBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
SortedBag.collect(Function<? super T,? extends V> function) |
<V> ListIterable<V> |
SortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<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) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeList<T>
A FixedSizeList is a list that may be mutated, but cannot grow or shrink in size.
|
interface |
ImmutableList<T>
ImmutableList is the non-modifiable equivalent interface to
MutableList. |
interface |
MultiReaderList<T>
A MultiReaderList provides thread-safe iteration for a list through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
interface |
MutableList<T>
A MutableList is an extension of java.util.List which provides methods matching the Smalltalk Collection protocol.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
ListIterable.collect(Function<? super T,? extends V> function) |
<V> ListIterable<V> |
ListIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<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<T> |
ListIterable.distinct()
Returns a new
ListIterable containing the distinct elements in this list. |
ListIterable<T> |
ListIterable.distinct(HashingStrategy<? super T> hashingStrategy)
Returns a new
ListIterable containing the distinct elements in this list. |
<V> ListIterable<T> |
ListIterable.distinctBy(Function<? super T,? extends V> function)
Returns a new
ListIterable containing the distinct elements in this list. |
ListIterable<T> |
ListIterable.drop(int count) |
ListIterable<T> |
ListIterable.dropWhile(Predicate<? super T> predicate)
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) |
ListIterable<T> |
ListIterable.reject(Predicate<? super T> predicate) |
<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.
|
ListIterable<T> |
ListIterable.select(Predicate<? super T> predicate) |
<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<T> |
ListIterable.subList(int fromIndex,
int toIndex) |
ListIterable<T> |
ListIterable.take(int count) |
ListIterable<T> |
ListIterable.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
ListIterable<T> |
ListIterable.tap(Procedure<? super T> procedure) |
ListIterable<T> |
ListIterable.toReversed() |
<S> ListIterable<Pair<T,S>> |
ListIterable.zip(Iterable<S> that) |
ListIterable<Pair<T,Integer>> |
ListIterable.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
default <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.
|
| Modifier and Type | Method and Description |
|---|---|
<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>> |
BooleanList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this BooleanList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<CharObjectPair<T>> |
CharList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this CharList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<ByteObjectPair<T>> |
ByteList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this ByteList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<ShortObjectPair<T>> |
ShortList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this ShortList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<LongObjectPair<T>> |
LongList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this LongList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<DoubleObjectPair<T>> |
DoubleList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this DoubleList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<FloatObjectPair<T>> |
FloatList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this FloatList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<IntObjectPair<T>> |
IntList.zip(Iterable<T> iterable)
Returns a
ListIterable formed from this IntList and a ListIterable by
combining corresponding elements in pairs. |
default ListIterable<BooleanBooleanPair> |
BooleanList.zipBoolean(BooleanIterable iterable)
Returns a
ListIterable formed from this BooleanList and another BooleanList by
combining corresponding elements in pairs. |
default ListIterable<ByteBytePair> |
ByteList.zipByte(ByteIterable iterable)
Returns a
ListIterable formed from this ByteList and another ByteList by
combining corresponding elements in pairs. |
default ListIterable<CharCharPair> |
CharList.zipChar(CharIterable iterable)
Returns a
ListIterable formed from this CharList and another CharList by
combining corresponding elements in pairs. |
default ListIterable<DoubleDoublePair> |
DoubleList.zipDouble(DoubleIterable iterable)
Returns a
ListIterable formed from this DoubleList and another DoubleList by
combining corresponding elements in pairs. |
default ListIterable<FloatFloatPair> |
FloatList.zipFloat(FloatIterable iterable)
Returns a
ListIterable formed from this FloatList and another FloatList by
combining corresponding elements in pairs. |
default ListIterable<IntIntPair> |
IntList.zipInt(IntIterable iterable)
Returns a
ListIterable formed from this IntList and another IntList by
combining corresponding elements in pairs. |
default ListIterable<LongLongPair> |
LongList.zipLong(LongIterable iterable)
Returns a
ListIterable formed from this LongList and another LongList by
combining corresponding elements in pairs. |
default ListIterable<ShortShortPair> |
ShortList.zipShort(ShortIterable iterable)
Returns a
ListIterable formed from this ShortList and another ShortList by
combining corresponding elements in pairs. |
| Modifier and Type | Method and Description |
|---|---|
<VV> ListIterable<VV> |
OrderedMap.collect(Function<? super V,? extends VV> function) |
<V1> ListIterable<V1> |
OrderedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
<P,V1> ListIterable<V1> |
OrderedMap.collectWith(Function2<? super V,? super P,? extends V1> function,
P parameter) |
ListIterable<V> |
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) |
ListIterable<V> |
OrderedMap.reject(Predicate<? super V> predicate) |
<P> ListIterable<V> |
OrderedMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
ListIterable<V> |
OrderedMap.select(Predicate<? super V> predicate) |
<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.zip(Iterable<S> that) |
ListIterable<Pair<V,Integer>> |
OrderedMap.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<V1> ListIterable<V1> |
SortedMapIterable.collect(Function<? super V,? extends V1> function) |
<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) |
ListIterable<V> |
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) |
ListIterable<V> |
SortedMapIterable.reject(Predicate<? super V> predicate) |
<P> ListIterable<V> |
SortedMapIterable.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
ListIterable<V> |
SortedMapIterable.select(Predicate<? super V> predicate) |
<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.zip(Iterable<S> that) |
ListIterable<Pair<V,Integer>> |
SortedMapIterable.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
ListIterable<V> |
ListMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
<S> ListIterable<Pair<T,S>> |
SortedIterable.zip(Iterable<S> that) |
| Modifier and Type | Method and Description |
|---|---|
ListIterable<T> |
PartitionList.getRejected() |
ListIterable<T> |
PartitionList.getSelected() |
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
SortedSetIterable.collect(Function<? super T,? extends V> function) |
<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) |
| Modifier and Type | Method and Description |
|---|---|
ListIterable<T> |
StackIterable.peek(int count) |
ListIterable<T> |
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.
|
Copyright © 2004–2021. All rights reserved.