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.
|
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.lazy.parallel.list | |
org.eclipse.collections.impl.list.fixed |
This package contains implementations of the
FixedSizeList interface. |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.utility.internal |
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
ListIterable<BooleanIntPair> |
BooleanBag.bottomOccurrences(int count) |
Returns the
count least frequently occurring items. |
ListIterable<ByteIntPair> |
ByteBag.bottomOccurrences(int count) |
Returns the
count least frequently occurring items. |
ListIterable<CharIntPair> |
CharBag.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<LongIntPair> |
LongBag.bottomOccurrences(int count) |
Returns the
count least frequently occurring items. |
ListIterable<ShortIntPair> |
ShortBag.bottomOccurrences(int count) |
Returns the
count least frequently occurring items. |
ListIterable<BooleanIntPair> |
BooleanBag.topOccurrences(int count) |
Returns the
count most frequently occurring items. |
ListIterable<ByteIntPair> |
ByteBag.topOccurrences(int count) |
Returns the
count most frequently occurring items. |
ListIterable<CharIntPair> |
CharBag.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. |
ListIterable<LongIntPair> |
LongBag.topOccurrences(int count) |
Returns the
count most frequently occurring items. |
ListIterable<ShortIntPair> |
ShortBag.topOccurrences(int count) |
Returns the
count most frequently occurring items. |
Modifier and Type | Method | 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 java.lang.Iterable<V>> function) |
|
default <P,V> ListIterable<V> |
SortedBag.flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function,
P parameter) |
Modifier and Type | Interface | 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 | 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 java.lang.Iterable<V>> function) |
|
default <P,V> ListIterable<V> |
ListIterable.flatCollectWith(Function2<? super T,? super P,? extends java.lang.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) |
|
ListIterable<T> |
ListIterable.select(Predicate<? super T> predicate) |
|
<S> ListIterable<S> |
ListIterable.selectInstancesOf(java.lang.Class<S> clazz) |
|
<P> ListIterable<T> |
ListIterable.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
|
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(java.lang.Iterable<S> that) |
|
ListIterable<Pair<T,java.lang.Integer>> |
ListIterable.zipWithIndex() |
Modifier and Type | Method | 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(java.lang.Iterable<T> iterable) |
Returns a
ListIterable formed from this BooleanList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<ByteObjectPair<T>> |
ByteList.zip(java.lang.Iterable<T> iterable) |
Returns a
ListIterable formed from this ByteList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<CharObjectPair<T>> |
CharList.zip(java.lang.Iterable<T> iterable) |
Returns a
ListIterable formed from this CharList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<DoubleObjectPair<T>> |
DoubleList.zip(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable) |
Returns a
ListIterable formed from this IntList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<LongObjectPair<T>> |
LongList.zip(java.lang.Iterable<T> iterable) |
Returns a
ListIterable formed from this LongList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ListIterable<ShortObjectPair<T>> |
ShortList.zip(java.lang.Iterable<T> iterable) |
Returns a
ListIterable formed from this ShortList 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 | 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 java.lang.Iterable<V1>> function) |
|
default <P,V1> ListIterable<V1> |
OrderedMap.flatCollectWith(Function2<? super V,? super P,? extends java.lang.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(java.lang.Class<S> clazz) |
|
<P> ListIterable<V> |
OrderedMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
|
<S> ListIterable<Pair<V,S>> |
OrderedMap.zip(java.lang.Iterable<S> that) |
|
ListIterable<Pair<V,java.lang.Integer>> |
OrderedMap.zipWithIndex() |
Modifier and Type | Method | 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 java.lang.Iterable<V1>> function) |
|
default <P,V1> ListIterable<V1> |
SortedMapIterable.flatCollectWith(Function2<? super V,? super P,? extends java.lang.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(java.lang.Class<S> clazz) |
|
<P> ListIterable<V> |
SortedMapIterable.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
|
<S> ListIterable<Pair<V,S>> |
SortedMapIterable.zip(java.lang.Iterable<S> that) |
|
ListIterable<Pair<V,java.lang.Integer>> |
SortedMapIterable.zipWithIndex() |
Modifier and Type | Method | Description |
---|---|---|
ListIterable<V> |
ListMultimap.get(K key) |
Modifier and Type | Method | Description |
---|---|---|
<S> ListIterable<Pair<T,S>> |
SortedIterable.zip(java.lang.Iterable<S> that) |
Modifier and Type | Method | Description |
---|---|---|
ListIterable<T> |
PartitionList.getRejected() |
|
ListIterable<T> |
PartitionList.getSelected() |
Modifier and Type | Method | 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 java.lang.Iterable<V>> function) |
|
default <P,V> ListIterable<V> |
SortedSetIterable.flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function,
P parameter) |
Modifier and Type | Method | 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.
|
Modifier and Type | Method | Description |
---|---|---|
static <T> ReverseIterable<T> |
ReverseIterable.adapt(ListIterable<T> listIterable) |
Constructor | Description |
---|---|
ReverseIterable(ListIterable<T> newAdapted) |
Constructor | Description |
---|---|
ListIterableBatch(ListIterable<T> list,
int chunkStartIndex,
int chunkEndIndex) |
|
ListIterableParallelIterable(ListIterable<T> delegate,
java.util.concurrent.ExecutorService executorService,
int batchSize) |
|
NonParallelListIterable(ListIterable<T> delegate) |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractArrayAdapter<T> |
|
class |
AbstractMemoryEfficientMutableList<T> |
|
class |
ArrayAdapter<T> |
This class provides a MutableList wrapper around an array.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractListAdapter<T> |
|
class |
AbstractMutableList<T> |
|
class |
ArrayListAdapter<T> |
This class provides a MutableList wrapper around a JDK Collections ArrayList instance.
|
class |
CompositeFastList<E> |
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.
|
class |
ListAdapter<T> |
This class provides a MutableList wrapper around a JDK Collections List interface instance.
|
class |
MultiReaderFastList<T> |
MultiReadFastList provides a thread-safe wrapper around a FastList, using a ReentrantReadWriteLock.
|
class |
RandomAccessListAdapter<T> |
This class provides a MutableList wrapper around a JDK Collections List interface instance.
|
class |
SynchronizedMutableList<T> |
A synchronized view of a
MutableList . |
class |
UnmodifiableMutableList<T> |
An unmodifiable view of a list.
|
Modifier and Type | Method | Description |
---|---|---|
ListIterable<T> |
ArrayStack.peek(int count) |
|
ListIterable<T> |
SynchronizedStack.peek(int count) |
|
ListIterable<T> |
UnmodifiableStack.peek(int count) |
|
ListIterable<T> |
ArrayStack.pop(int count) |
|
ListIterable<T> |
SynchronizedStack.pop(int count) |
|
ListIterable<T> |
UnmodifiableStack.pop(int count) |
Modifier and Type | Method | Description |
---|---|---|
static <T> void |
InternalArrayIterate.appendString(ListIterable<T> iterable,
T[] array,
int size,
java.lang.Appendable appendable,
java.lang.String start,
java.lang.String separator,
java.lang.String end) |
Copyright © 2004–2020. All rights reserved.