| Package | Description |
|---|---|
| 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.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.ordered | |
| org.eclipse.collections.api.ordered | |
| org.eclipse.collections.api.ordered.primitive | |
| org.eclipse.collections.api.partition.ordered | |
| 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 | Interface and Description |
|---|---|
interface |
ImmutableSortedBag<T>
ImmutableSortedBag is the non-modifiable equivalent interface to
MutableSortedBag. |
interface |
MutableSortedBag<T> |
interface |
SortedBag<T>
An Iterable whose elements are sorted by some comparator or their natural ordering and may contain duplicate entries.
|
| 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 |
ListIterable<T>
An iterable whose items are ordered and may be accessed directly by index.
|
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 | Interface and Description |
|---|---|
interface |
ImmutableOrderedMap<K,V> |
interface |
MutableOrderedMap<K,V> |
interface |
OrderedMap<K,V>
A map whose keys are ordered but not necessarily sorted, for example a linked hash map.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedMap<K,V>
An ImmutableSortedMap is different than a JCF SortedMap in that it has no mutating methods, but it shares
the read-only protocol of a SortedMap.
|
interface |
MutableSortedMap<K,V>
A MutableSortedMap is similar to a JCF Map but adds additional useful internal iterator methods.
|
interface |
SortedMapIterable<K,V>
An iterable Map whose elements are sorted.
|
| Modifier and Type | Method and Description |
|---|---|
OrderedIterable<V> |
OrderedIterableMultimap.get(K key) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ReversibleIterable<T>
A ReversibleIterable is an ordered iterable that you can iterate over forwards or backwards.
|
interface |
SortedIterable<T>
A SortedIterable is an ordered iterable where the elements are stored in sorted order defined by a non-strict partial
order relation.
|
| Modifier and Type | Method and Description |
|---|---|
<V> OrderedIterable<V> |
OrderedIterable.collect(Function<? super T,? extends V> function) |
<V> OrderedIterable<V> |
OrderedIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> OrderedIterable<V> |
OrderedIterable.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
default <V> OrderedIterable<V> |
OrderedIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
OrderedIterable<T> |
OrderedIterable.distinct()
Returns a new
OrderedIterable containing the distinct elements in this iterable. |
OrderedIterable<T> |
OrderedIterable.dropWhile(Predicate<? super T> predicate)
Returns the final elements that do not satisfy the Predicate.
|
<V> OrderedIterable<V> |
OrderedIterable.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> OrderedIterable<V> |
OrderedIterable.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
OrderedIterable<T> |
OrderedIterable.reject(Predicate<? super T> predicate) |
<P> OrderedIterable<T> |
OrderedIterable.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
OrderedIterable<T> |
OrderedIterable.select(Predicate<? super T> predicate) |
<S> OrderedIterable<S> |
OrderedIterable.selectInstancesOf(Class<S> clazz) |
<P> OrderedIterable<T> |
OrderedIterable.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
OrderedIterable<T> |
OrderedIterable.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
OrderedIterable<T> |
OrderedIterable.tap(Procedure<? super T> procedure) |
<S> OrderedIterable<Pair<T,S>> |
OrderedIterable.zip(Iterable<S> that)
Returns a
OrderedIterable formed from this OrderedIterable and another Iterable by
combining corresponding elements in pairs. |
OrderedIterable<Pair<T,Integer>> |
OrderedIterable.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<S> boolean |
OrderedIterable.corresponds(OrderedIterable<S> other,
Predicate2<? super T,? super S> predicate)
Returns true if both OrderedIterables have the same length
and
predicate returns true for all corresponding elements e1 of
this OrderedIterable and e2 of other. |
| Modifier and Type | Method and Description |
|---|---|
<V> OrderedIterable<V> |
OrderedBooleanIterable.collect(BooleanToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedByteIterable.collect(ByteToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedCharIterable.collect(CharToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedDoubleIterable.collect(DoubleToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedFloatIterable.collect(FloatToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedIntIterable.collect(IntToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedLongIterable.collect(LongToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedShortIterable.collect(ShortToObjectFunction<? extends V> function) |
default <V> OrderedIterable<V> |
OrderedBooleanIterable.collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedByteIterable.collectWithIndex(ByteIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedCharIterable.collectWithIndex(CharIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedDoubleIterable.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedFloatIterable.collectWithIndex(FloatIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedIntIterable.collectWithIndex(IntIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedLongIterable.collectWithIndex(LongIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedShortIterable.collectWithIndex(ShortIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
| Modifier and Type | Method and Description |
|---|---|
OrderedIterable<T> |
PartitionOrderedIterable.getRejected() |
OrderedIterable<T> |
PartitionOrderedIterable.getSelected() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedSet<T>
ImmutableSortedSet is the non-modifiable equivalent interface to
MutableSortedSet. |
interface |
MutableSortedSet<T>
A MutableSortedSet is an implementation of a JCF SortedSet which provides methods matching the Smalltalk Collection
protocol.
|
interface |
SortedSetIterable<T>
An iterable whose items are unique and sorted by some comparator or their natural ordering.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableStack<T> |
interface |
MutableStack<T> |
interface |
StackIterable<T>
StackIterable is a last-in-first-out data structure.
|
Copyright © 2004–2021. All rights reserved.