| Package | Description |
|---|---|
| com.gs.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2. |
| com.gs.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
| com.gs.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
| com.gs.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 |
|---|---|
FastList<V> |
FastListCollectIfProcedure.getFastList() |
FastList<V> |
FastListCollectProcedure.getFastList() |
FastList<T> |
FastListRejectProcedure.getFastList() |
FastList<T> |
FastListSelectProcedure.getFastList() |
| Constructor and Description |
|---|
FastListCollectIfProcedure(FastList<V> targetCollection,
com.gs.collections.api.block.function.Function<? super T,? extends V> function,
com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
FastListCollectProcedure(com.gs.collections.api.block.function.Function<? super T,? extends V> function,
FastList<V> targetCollection) |
FastListRejectProcedure(com.gs.collections.api.block.predicate.Predicate<? super T> newPredicate,
FastList<T> targetCollection) |
FastListSelectProcedure(com.gs.collections.api.block.predicate.Predicate<? super T> newPredicate,
FastList<T> targetCollection) |
| Modifier and Type | Method and Description |
|---|---|
FastList<T> |
FastList.clone() |
<V> FastList<V> |
FastList.collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<V> FastList<V> |
FastList.collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<P,V> FastList<V> |
FastList.collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> FastList<V> |
FastList.flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends java.lang.Iterable<V>> function) |
static <E> FastList<E> |
FastList.newList() |
static <E> FastList<E> |
FastList.newList(int initialCapacity) |
static <E> FastList<E> |
FastList.newList(java.lang.Iterable<? extends E> source) |
static <E> FastList<E> |
FastList.newListWith(E... elements)
Creates a new list using the passed
elements argument as the backing store. |
static <E> FastList<E> |
FastList.newWithNValues(int size,
com.gs.collections.api.block.function.Function0<E> factory)
Creates a new FastList pre-sized to the specified size filled with default values generated by the specified function.
|
FastList<T> |
FastList.reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> FastList<T> |
FastList.rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
FastList<T> |
FastList.reverseThis() |
FastList<T> |
FastList.select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<S> FastList<S> |
FastList.selectInstancesOf(java.lang.Class<S> clazz) |
<P> FastList<T> |
FastList.selectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
FastList<T> |
FastList.sortThis() |
FastList<T> |
FastList.sortThis(java.util.Comparator<? super T> comparator) |
FastList<T> |
FastList.toList() |
FastList<T> |
FastList.toSortedList() |
FastList<T> |
FastList.toSortedList(java.util.Comparator<? super T> comparator) |
FastList<T> |
FastList.with(T... elements) |
FastList<T> |
FastList.with(T element1,
T element2) |
FastList<T> |
FastList.with(T element1,
T element2,
T element3) |
FastList<T> |
FastList.withArrayCopy(T[] elements,
int begin,
int length) |
static <E> FastList<E> |
FastList.wrapCopy(E... array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FastList.fastListEquals(FastList<?> that) |
| Modifier and Type | Method and Description |
|---|---|
static <T> FastList<T> |
ArrayIterate.selectInstancesOf(java.lang.Object[] objectArray,
java.lang.Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static <T> FastList<T> |
InternalArrayIterate.distinct(T[] objectArray,
int size) |
static <T> FastList<T> |
InternalArrayIterate.distinct(T[] objectArray,
int size,
com.gs.collections.api.block.HashingStrategy<? super T> hashingStrategy) |
static <T> FastList<T> |
InternalArrayIterate.selectInstancesOf(java.lang.Object[] array,
int size,
java.lang.Class<T> clazz) |