| 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.factory.list |
This package contains factory API for creating instances of type
ListIterable. |
| 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.partition.list |
This package contains interfaces for
PartitionList. |
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<ObjectIntPair<T>> |
ImmutableBag.bottomOccurrences(int count) |
ImmutableList<ObjectIntPair<T>> |
ImmutableBag.topOccurrences(int count) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<BooleanIntPair> |
ImmutableBooleanBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<CharIntPair> |
ImmutableCharBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<ByteIntPair> |
ImmutableByteBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<ShortIntPair> |
ImmutableShortBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<LongIntPair> |
ImmutableLongBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<DoubleIntPair> |
ImmutableDoubleBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<FloatIntPair> |
ImmutableFloatBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<IntIntPair> |
ImmutableIntBag.bottomOccurrences(int count)
Returns the
count least frequently occurring items. |
ImmutableList<BooleanIntPair> |
ImmutableBooleanBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<CharIntPair> |
ImmutableCharBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<ByteIntPair> |
ImmutableByteBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<ShortIntPair> |
ImmutableShortBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<LongIntPair> |
ImmutableLongBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<DoubleIntPair> |
ImmutableDoubleBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<FloatIntPair> |
ImmutableFloatBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
ImmutableList<IntIntPair> |
ImmutableIntBag.topOccurrences(int count)
Returns the
count most frequently occurring items. |
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<V> |
ImmutableSortedBag.collect(Function<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> ImmutableList<V> |
ImmutableSortedBag.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
default <V> ImmutableList<V> |
ImmutableSortedBag.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> ImmutableList<V> |
ImmutableSortedBag.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
<S> ImmutableList<Pair<T,S>> |
ImmutableSortedBag.zip(Iterable<S> that) |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableList<T> |
ImmutableListFactory.empty() |
default <T> ImmutableList<T> |
ImmutableListFactory.fromStream(Stream<? extends T> stream) |
<T> ImmutableList<T> |
ImmutableListFactory.of()
Same as
ImmutableListFactory.empty(). |
<T> ImmutableList<T> |
ImmutableListFactory.of(T... items)
Same as
ImmutableListFactory.with(Object[]). |
<T> ImmutableList<T> |
ImmutableListFactory.of(T one)
Same as
ImmutableListFactory.with(Object). |
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four,
T five)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four,
T five,
T six)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four,
T five,
T six,
T seven)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine)
|
<T> ImmutableList<T> |
ImmutableListFactory.of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine,
T ten)
|
<T> ImmutableList<T> |
ImmutableListFactory.ofAll(Iterable<? extends T> items)
|
<T> ImmutableList<T> |
ImmutableListFactory.with()
Same as
ImmutableListFactory.empty(). |
<T> ImmutableList<T> |
ImmutableListFactory.with(T... items) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four,
T five) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four,
T five,
T six) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four,
T five,
T six,
T seven) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine) |
<T> ImmutableList<T> |
ImmutableListFactory.with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine,
T ten) |
<T> ImmutableList<T> |
ImmutableListFactory.withAll(Iterable<? extends T> items) |
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<V> |
ImmutableList.collect(Function<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableList.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> ImmutableList<V> |
ImmutableList.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
default <V> ImmutableList<V> |
ImmutableList.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
ImmutableList<T> |
ImmutableList.distinct() |
ImmutableList<T> |
ImmutableList.distinct(HashingStrategy<? super T> hashingStrategy) |
<V> ImmutableList<T> |
ImmutableList.distinctBy(Function<? super T,? extends V> function) |
ImmutableList<T> |
ImmutableList.drop(int count) |
ImmutableList<T> |
ImmutableList.dropWhile(Predicate<? super T> predicate) |
<V> ImmutableList<V> |
ImmutableList.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> ImmutableList<V> |
ImmutableList.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
ImmutableList<T> |
ImmutableList.newWith(T element) |
ImmutableList<T> |
ImmutableList.newWithAll(Iterable<? extends T> elements) |
ImmutableList<T> |
ImmutableList.newWithout(T element) |
ImmutableList<T> |
ImmutableList.newWithoutAll(Iterable<? extends T> elements) |
ImmutableList<T> |
ImmutableList.reject(Predicate<? super T> predicate) |
<P> ImmutableList<T> |
ImmutableList.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableList<T> |
ImmutableList.select(Predicate<? super T> predicate) |
<S> ImmutableList<S> |
ImmutableList.selectInstancesOf(Class<S> clazz) |
<P> ImmutableList<T> |
ImmutableList.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableList<T> |
ImmutableList.subList(int fromIndex,
int toIndex) |
ImmutableList<T> |
ImmutableList.take(int count) |
ImmutableList<T> |
ImmutableList.takeWhile(Predicate<? super T> predicate) |
ImmutableList<T> |
ImmutableList.tap(Procedure<? super T> procedure) |
default ImmutableList<T> |
MutableList.toImmutable()
Returns an immutable copy of this list.
|
ImmutableList<T> |
ListIterable.toImmutable()
Converts the ListIterable to an immutable implementation.
|
ImmutableList<T> |
ImmutableList.toReversed() |
<S> ImmutableList<Pair<T,S>> |
ImmutableList.zip(Iterable<S> that) |
ImmutableList<Pair<T,Integer>> |
ImmutableList.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<V> |
ImmutableBooleanList.collect(BooleanToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableByteList.collect(ByteToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableCharList.collect(CharToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableDoubleList.collect(DoubleToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableFloatList.collect(FloatToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableIntList.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableLongList.collect(LongToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableShortList.collect(ShortToObjectFunction<? extends V> function) |
default <V> ImmutableList<V> |
ImmutableBooleanList.collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableByteList.collectWithIndex(ByteIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableCharList.collectWithIndex(CharIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableDoubleList.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableFloatList.collectWithIndex(FloatIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableIntList.collectWithIndex(IntIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableLongList.collectWithIndex(LongIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableShortList.collectWithIndex(ShortIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <T> ImmutableList<BooleanObjectPair<T>> |
ImmutableBooleanList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableBooleanList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<CharObjectPair<T>> |
ImmutableCharList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableCharList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<ByteObjectPair<T>> |
ImmutableByteList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableByteList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<ShortObjectPair<T>> |
ImmutableShortList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableShortList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<LongObjectPair<T>> |
ImmutableLongList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableLongList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<DoubleObjectPair<T>> |
ImmutableDoubleList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableDoubleList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<FloatObjectPair<T>> |
ImmutableFloatList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableFloatList and a ListIterable by
combining corresponding elements in pairs. |
default <T> ImmutableList<IntObjectPair<T>> |
ImmutableIntList.zip(Iterable<T> iterable)
Returns an
ImmutableList formed from this ImmutableIntList and a ListIterable by
combining corresponding elements in pairs. |
default ImmutableList<BooleanBooleanPair> |
ImmutableBooleanList.zipBoolean(BooleanIterable iterable)
Returns an
ImmutableList formed from this ImmutableBooleanList and another BooleanList by
combining corresponding elements in pairs. |
default ImmutableList<ByteBytePair> |
ImmutableByteList.zipByte(ByteIterable iterable)
Returns an
ImmutableList formed from this ImmutableByteList and another ByteList by
combining corresponding elements in pairs. |
default ImmutableList<CharCharPair> |
ImmutableCharList.zipChar(CharIterable iterable)
Returns an
ImmutableList formed from this ImmutableCharList and another CharList by
combining corresponding elements in pairs. |
default ImmutableList<DoubleDoublePair> |
ImmutableDoubleList.zipDouble(DoubleIterable iterable)
Returns an
ImmutableList formed from this ImmutableDoubleList and another DoubleList by
combining corresponding elements in pairs. |
default ImmutableList<FloatFloatPair> |
ImmutableFloatList.zipFloat(FloatIterable iterable)
Returns an
ImmutableList formed from this ImmutableFloatList and another FloatList by
combining corresponding elements in pairs. |
default ImmutableList<IntIntPair> |
ImmutableIntList.zipInt(IntIterable iterable)
Returns an
ImmutableList formed from this ImmutableIntList and another IntList by
combining corresponding elements in pairs. |
default ImmutableList<LongLongPair> |
ImmutableLongList.zipLong(LongIterable iterable)
Returns an
ImmutableList formed from this ImmutableLongList and another LongList by
combining corresponding elements in pairs. |
default ImmutableList<ShortShortPair> |
ImmutableShortList.zipShort(ShortIterable iterable)
Returns an
ImmutableList formed from this ImmutableShortList and another ShortList by
combining corresponding elements in pairs. |
| Modifier and Type | Method and Description |
|---|---|
<VV> ImmutableList<VV> |
ImmutableOrderedMap.collect(Function<? super V,? extends VV> function) |
<V1> ImmutableList<V1> |
ImmutableOrderedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
<P,V1> ImmutableList<V1> |
ImmutableOrderedMap.collectWith(Function2<? super V,? super P,? extends V1> function,
P parameter) |
ImmutableList<V> |
ImmutableOrderedMap.distinct() |
<V1> ImmutableList<V1> |
ImmutableOrderedMap.flatCollect(Function<? super V,? extends Iterable<V1>> function) |
default <P,V1> ImmutableList<V1> |
ImmutableOrderedMap.flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function,
P parameter) |
ImmutableList<V> |
ImmutableOrderedMap.reject(Predicate<? super V> predicate) |
<P> ImmutableList<V> |
ImmutableOrderedMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
ImmutableList<V> |
ImmutableOrderedMap.select(Predicate<? super V> predicate) |
<S> ImmutableList<S> |
ImmutableOrderedMap.selectInstancesOf(Class<S> clazz) |
<P> ImmutableList<V> |
ImmutableOrderedMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> ImmutableList<Pair<V,S>> |
ImmutableOrderedMap.zip(Iterable<S> that) |
ImmutableList<Pair<V,Integer>> |
ImmutableOrderedMap.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<R> ImmutableList<R> |
ImmutableSortedMap.collect(Function<? super V,? extends R> function) |
<R> ImmutableList<R> |
ImmutableSortedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<P,VV> ImmutableList<VV> |
ImmutableSortedMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
default <R> ImmutableList<R> |
ImmutableSortedMap.collectWithIndex(ObjectIntToObjectFunction<? super V,? extends R> function) |
<R> ImmutableList<R> |
ImmutableSortedMap.flatCollect(Function<? super V,? extends Iterable<R>> function) |
default <P,R> ImmutableList<R> |
ImmutableSortedMap.flatCollectWith(Function2<? super V,? super P,? extends Iterable<R>> function,
P parameter) |
ImmutableList<V> |
ImmutableSortedMap.reject(Predicate<? super V> predicate) |
<P> ImmutableList<V> |
ImmutableSortedMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
ImmutableList<V> |
ImmutableSortedMap.select(Predicate<? super V> predicate) |
<S> ImmutableList<S> |
ImmutableSortedMap.selectInstancesOf(Class<S> clazz) |
<P> ImmutableList<V> |
ImmutableSortedMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> ImmutableList<Pair<V,S>> |
ImmutableSortedMap.zip(Iterable<S> that) |
ImmutableList<Pair<V,Integer>> |
ImmutableSortedMap.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<V> |
ImmutableListMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<T> |
PartitionImmutableList.getRejected() |
ImmutableList<T> |
PartitionImmutableList.getSelected() |
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<V> |
ImmutableSortedSet.collect(Function<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> ImmutableList<V> |
ImmutableSortedSet.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
default <V> ImmutableList<V> |
ImmutableSortedSet.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedSet.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> ImmutableList<V> |
ImmutableSortedSet.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
<S> ImmutableList<Pair<T,S>> |
ImmutableSortedSet.zip(Iterable<S> that) |
Copyright © 2004–2020. All rights reserved.