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 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<IntIntPair> |
IntBag.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<DoubleIntPair> |
DoubleBag.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<BooleanIntPair> |
BooleanBag.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.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<DoubleIntPair> |
DoubleBag.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<BooleanIntPair> |
BooleanBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ListIterable<FloatIntPair> |
FloatBag.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) |
<V> ListIterable<V> |
SortedBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
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 |
MutableList<T>
A MutableList is an implementation of a JCF 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) |
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. |
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) |
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(Class<S> clazz) |
<P> ListIterable<T> |
ListIterable.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
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 |
---|---|
<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) |
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) |
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) |
ListIterable<V> |
SortedMapIterable.distinct() |
<V1> ListIterable<V1> |
SortedMapIterable.flatCollect(Function<? super V,? extends Iterable<V1>> function) |
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) |
<V> ListIterable<V> |
SortedSetIterable.flatCollect(Function<? super T,? extends Iterable<V>> function) |
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.
|
Modifier and Type | Method and Description |
---|---|
static <T> ReverseIterable<T> |
ReverseIterable.adapt(ListIterable<T> listIterable) |
Constructor and Description |
---|
ReverseIterable(ListIterable<T> newAdapted) |
Constructor and Description |
---|
ListIterableBatch(ListIterable<T> list,
int chunkStartIndex,
int chunkEndIndex) |
ListIterableParallelIterable(ListIterable<T> delegate,
ExecutorService executorService,
int batchSize) |
NonParallelListIterable(ListIterable<T> delegate) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractArrayAdapter<T> |
class |
AbstractMemoryEfficientMutableList<T> |
class |
ArrayAdapter<T>
This class provides a MutableList wrapper around an array.
|
Modifier and Type | Class and 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 and 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 and Description |
---|---|
static <T> void |
InternalArrayIterate.appendString(ListIterable<T> iterable,
T[] array,
int size,
Appendable appendable,
String start,
String separator,
String end) |
Copyright © 2004–2016. All rights reserved.