| Package | Description |
|---|---|
| com.gs.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| com.gs.collections.api.factory.list |
This package contains factory API for creating instances of type
ListIterable. |
| com.gs.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| com.gs.collections.api.list.primitive |
This package contains mutable and immutable primitive list API.
|
| com.gs.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| com.gs.collections.api.multimap.list |
This package contains interfaces for
ListMultimap. |
| com.gs.collections.api.partition.list |
This package contains interfaces for
PartitionList. |
| com.gs.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| 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) |
<V> ImmutableList<V> |
ImmutableSortedBag.flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function) |
<S> ImmutableList<Pair<T,S>> |
ImmutableSortedBag.zip(java.lang.Iterable<S> that) |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableList<T> |
ImmutableListFactory.of()
Same as
ImmutableListFactory.with(). |
<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(java.lang.Iterable<? extends T> items)
|
<T> ImmutableList<T> |
ImmutableListFactory.with() |
<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(java.lang.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) |
ImmutableList<T> |
ImmutableList.distinct() |
ImmutableList<T> |
ImmutableList.dropWhile(Predicate<? super T> predicate) |
<V> ImmutableList<V> |
ImmutableList.flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function) |
ImmutableList<T> |
ImmutableList.newWith(T element) |
ImmutableList<T> |
ImmutableList.newWithAll(java.lang.Iterable<? extends T> elements) |
ImmutableList<T> |
ImmutableList.newWithout(T element) |
ImmutableList<T> |
ImmutableList.newWithoutAll(java.lang.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(java.lang.Class<S> clazz) |
<P> ImmutableList<T> |
ImmutableList.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableList<T> |
ImmutableList.takeWhile(Predicate<? super T> predicate) |
ImmutableList<T> |
ListIterable.toImmutable()
Converts the ListIterable to an immutable implementation.
|
ImmutableList<T> |
MutableList.toImmutable()
Returns an immutable copy of this list.
|
<S> ImmutableList<Pair<T,S>> |
ImmutableList.zip(java.lang.Iterable<S> that) |
ImmutableList<Pair<T,java.lang.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) |
| 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) |
<R> ImmutableList<R> |
ImmutableSortedMap.flatCollect(Function<? super V,? extends java.lang.Iterable<R>> function) |
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(java.lang.Class<S> clazz) |
<P> ImmutableList<V> |
ImmutableSortedMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> ImmutableList<Pair<V,S>> |
ImmutableSortedMap.zip(java.lang.Iterable<S> that) |
ImmutableList<Pair<V,java.lang.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) |
<V> ImmutableList<V> |
ImmutableSortedSet.flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function) |
<S> ImmutableList<Pair<T,S>> |
ImmutableSortedSet.zip(java.lang.Iterable<S> that) |