Package | Description |
---|---|
com.gs.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
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.ordered | |
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.
|
com.gs.collections.api.stack |
This package contains interfaces for stack API.
|
com.gs.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
com.gs.collections.impl.list.fixed |
This package contains implementations of the
FixedSizeList interface. |
com.gs.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
com.gs.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
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.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.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
<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 |
---|---|
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) |
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> |
UnmodifiableStack.peek(int count) |
ListIterable<T> |
SynchronizedStack.peek(int count) |
ListIterable<T> |
ArrayStack.pop(int count) |
ListIterable<T> |
UnmodifiableStack.pop(int count) |
ListIterable<T> |
SynchronizedStack.pop(int count) |
Copyright © 2004–2019. All rights reserved.