public abstract class AbstractMutableList<T> extends AbstractMutableCollection<T> implements com.gs.collections.api.list.MutableList<T>
| Constructor and Description |
|---|
AbstractMutableList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
com.gs.collections.api.list.ParallelListIterable<T> |
asParallel(ExecutorService executorService,
int batchSize) |
ReverseIterable<T> |
asReversed() |
com.gs.collections.api.list.MutableList<T> |
asSynchronized() |
com.gs.collections.api.list.MutableList<T> |
asUnmodifiable() |
int |
binarySearch(T key) |
int |
binarySearch(T key,
Comparator<? super T> comparator) |
com.gs.collections.api.list.MutableList<T> |
clone() |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
com.gs.collections.api.list.primitive.MutableBooleanList |
collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction) |
com.gs.collections.api.list.primitive.MutableByteList |
collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction) |
com.gs.collections.api.list.primitive.MutableCharList |
collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super T> charFunction) |
com.gs.collections.api.list.primitive.MutableDoubleList |
collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction) |
com.gs.collections.api.list.primitive.MutableFloatList |
collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction) |
<V> com.gs.collections.api.list.MutableList<V> |
collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function<? super T,? extends V> function,
R target) |
com.gs.collections.api.list.primitive.MutableIntList |
collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> intFunction) |
com.gs.collections.api.list.primitive.MutableLongList |
collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> longFunction) |
com.gs.collections.api.list.primitive.MutableShortList |
collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction) |
<P,A,R extends Collection<A>> |
collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends A> function,
P parameter,
R target) |
<P,V> com.gs.collections.api.list.MutableList<V> |
collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter) |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> source) |
<S> boolean |
corresponds(com.gs.collections.api.ordered.OrderedIterable<S> other,
com.gs.collections.api.block.predicate.Predicate2<? super T,? super S> predicate) |
int |
count(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> int |
countWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
T |
detect(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
T |
detectIfNone(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function0<? extends T> function) |
int |
detectIndex(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
int |
detectLastIndex(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> T |
detectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> T |
detectWithIfNone(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
com.gs.collections.api.block.function.Function0<? extends T> function) |
com.gs.collections.api.list.MutableList<T> |
distinct() |
com.gs.collections.api.list.MutableList<T> |
distinct(com.gs.collections.api.block.HashingStrategy<? super T> hashingStrategy) |
com.gs.collections.api.list.MutableList<T> |
drop(int count) |
com.gs.collections.api.list.MutableList<T> |
dropWhile(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
void |
each(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
boolean |
equals(Object that) |
<V> com.gs.collections.api.list.MutableList<V> |
flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<V,R extends Collection<V>> |
flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends Iterable<V>> function,
R target) |
void |
forEach(int from,
int to,
com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
<P> void |
forEachWith(com.gs.collections.api.block.procedure.Procedure2<? super T,? super P> procedure,
P parameter) |
void |
forEachWithIndex(int fromIndex,
int toIndex,
com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure) |
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure) |
T |
getFirst() |
T |
getLast() |
<V> FastListMultimap<V,T> |
groupBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
<V> FastListMultimap<V,T> |
groupByEach(com.gs.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<K> com.gs.collections.api.map.MutableMap<K,T> |
groupByUniqueKey(com.gs.collections.api.block.function.Function<? super T,? extends K> function) |
int |
hashCode() |
int |
indexOf(Object object) |
float |
injectInto(float injectedValue,
com.gs.collections.api.block.function.primitive.FloatObjectToFloatFunction<? super T> function) |
int |
injectInto(int injectedValue,
com.gs.collections.api.block.function.primitive.IntObjectToIntFunction<? super T> function) |
<IV> IV |
injectInto(IV injectedValue,
com.gs.collections.api.block.function.Function2<? super IV,? super T,? extends IV> function) |
long |
injectInto(long injectedValue,
com.gs.collections.api.block.function.primitive.LongObjectToLongFunction<? super T> function) |
<IV,P> IV |
injectIntoWith(IV injectValue,
com.gs.collections.api.block.function.Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object object) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
max() |
T |
max(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
maxBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
T |
min() |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
com.gs.collections.api.list.MutableList<T> |
newEmpty() |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
com.gs.collections.api.partition.list.PartitionMutableList<T> |
partition(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
com.gs.collections.api.partition.list.PartitionMutableList<T> |
partitionWhile(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> com.gs.collections.api.partition.list.PartitionMutableList<T> |
partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
com.gs.collections.api.list.MutableList<T> |
reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<R extends Collection<T>> |
reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
R target) |
<P> com.gs.collections.api.list.MutableList<T> |
rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
R target) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> collection) |
void |
reverseForEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
com.gs.collections.api.list.MutableList<T> |
reverseThis() |
com.gs.collections.api.list.MutableList<T> |
select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
<R extends Collection<T>> |
select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
R target) |
<P> com.gs.collections.api.tuple.Twin<com.gs.collections.api.list.MutableList<T>> |
selectAndRejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<S> com.gs.collections.api.list.MutableList<S> |
selectInstancesOf(Class<S> clazz) |
<P> com.gs.collections.api.list.MutableList<T> |
selectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
selectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
R target) |
com.gs.collections.api.list.MutableList<T> |
shuffleThis() |
com.gs.collections.api.list.MutableList<T> |
shuffleThis(Random rnd) |
com.gs.collections.api.list.MutableList<T> |
sortThis() |
com.gs.collections.api.list.MutableList<T> |
sortThis(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
sortThisBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByChar(com.gs.collections.api.block.function.primitive.CharFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
sortThisByShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
subList(int fromIndex,
int toIndex) |
double |
sumOfDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
double |
sumOfFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function) |
long |
sumOfInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function) |
long |
sumOfLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function) |
com.gs.collections.api.list.MutableList<T> |
take(int count) |
com.gs.collections.api.list.MutableList<T> |
takeWhile(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
com.gs.collections.api.list.MutableList<T> |
tap(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
com.gs.collections.api.list.ImmutableList<T> |
toImmutable() |
com.gs.collections.api.list.MutableList<T> |
toList() |
com.gs.collections.api.list.MutableList<T> |
toReversed() |
com.gs.collections.api.set.MutableSet<T> |
toSet() |
com.gs.collections.api.list.MutableList<T> |
toSortedList() |
com.gs.collections.api.list.MutableList<T> |
toSortedList(Comparator<? super T> comparator) |
com.gs.collections.api.stack.MutableStack<T> |
toStack() |
com.gs.collections.api.list.MutableList<T> |
with(T element) |
com.gs.collections.api.list.MutableList<T> |
withAll(Iterable<? extends T> elements) |
com.gs.collections.api.list.MutableList<T> |
without(T element) |
com.gs.collections.api.list.MutableList<T> |
withoutAll(Iterable<? extends T> elements) |
<S> com.gs.collections.api.list.MutableList<com.gs.collections.api.tuple.Pair<T,S>> |
zip(Iterable<S> that) |
<S,R extends Collection<com.gs.collections.api.tuple.Pair<T,S>>> |
zip(Iterable<S> that,
R target) |
com.gs.collections.api.list.MutableList<com.gs.collections.api.tuple.Pair<T,Integer>> |
zipWithIndex() |
<R extends Collection<com.gs.collections.api.tuple.Pair<T,Integer>>> |
zipWithIndex(R target) |
add, addAll, addAllIterable, aggregateBy, aggregateInPlaceBy, chunk, remove, removeAllIterable, retainAllIterableappendString, asLazy, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAllArguments, containsAllIterable, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, isEmpty, makeString, makeString, makeString, notEmpty, sumByDouble, sumByFloat, sumByInt, sumByLong, toArray, toArray, toBag, toMap, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toStringaddAllIterable, aggregateBy, aggregateInPlaceBy, removeAllIterable, retainAllIterableadd, add, addAll, addAll, clear, get, isEmpty, remove, remove, replaceAll, set, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamappendString, asLazy, chunk, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAllArguments, containsAllIterable, groupBy, groupByEach, groupByUniqueKey, injectInto, isEmpty, makeString, makeString, makeString, notEmpty, size, sumByDouble, sumByFloat, sumByInt, sumByLong, toArray, toArray, toBag, toMap, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toStringpublic com.gs.collections.api.list.MutableList<T> clone()
public boolean equals(Object that)
public int hashCode()
public void each(com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
each in interface com.gs.collections.api.RichIterable<T>public void reverseForEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
reverseForEach in interface com.gs.collections.api.ordered.ReversibleIterable<T>public void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface com.gs.collections.api.InternalIterable<T>forEachWithIndex in interface com.gs.collections.api.ordered.OrderedIterable<T>forEachWithIndex in class AbstractRichIterable<T>public <P> void forEachWith(com.gs.collections.api.block.procedure.Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface com.gs.collections.api.InternalIterable<T>forEachWith in class AbstractRichIterable<T>public <S,R extends Collection<com.gs.collections.api.tuple.Pair<T,S>>> R zip(Iterable<S> that, R target)
zip in interface com.gs.collections.api.ordered.OrderedIterable<T>zip in interface com.gs.collections.api.RichIterable<T>zip in class AbstractRichIterable<T>public <R extends Collection<com.gs.collections.api.tuple.Pair<T,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface com.gs.collections.api.ordered.OrderedIterable<T>zipWithIndex in interface com.gs.collections.api.RichIterable<T>zipWithIndex in class AbstractRichIterable<T>public void forEachWithIndex(int fromIndex,
int toIndex,
com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface com.gs.collections.api.ordered.OrderedIterable<T>public com.gs.collections.api.list.MutableList<T> select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
select in interface com.gs.collections.api.collection.MutableCollection<T>select in interface com.gs.collections.api.list.ListIterable<T>select in interface com.gs.collections.api.list.MutableList<T>select in interface com.gs.collections.api.ordered.OrderedIterable<T>select in interface com.gs.collections.api.ordered.ReversibleIterable<T>select in interface com.gs.collections.api.RichIterable<T>public <R extends Collection<T>> R select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, R target)
select in interface com.gs.collections.api.RichIterable<T>select in class AbstractRichIterable<T>public <P> com.gs.collections.api.list.MutableList<T> selectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface com.gs.collections.api.collection.MutableCollection<T>selectWith in interface com.gs.collections.api.list.ListIterable<T>selectWith in interface com.gs.collections.api.list.MutableList<T>selectWith in interface com.gs.collections.api.ordered.OrderedIterable<T>selectWith in interface com.gs.collections.api.ordered.ReversibleIterable<T>selectWith in interface com.gs.collections.api.RichIterable<T>public <P,R extends Collection<T>> R selectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, R target)
selectWith in interface com.gs.collections.api.RichIterable<T>selectWith in class AbstractRichIterable<T>public com.gs.collections.api.list.MutableList<T> reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
reject in interface com.gs.collections.api.collection.MutableCollection<T>reject in interface com.gs.collections.api.list.ListIterable<T>reject in interface com.gs.collections.api.list.MutableList<T>reject in interface com.gs.collections.api.ordered.OrderedIterable<T>reject in interface com.gs.collections.api.ordered.ReversibleIterable<T>reject in interface com.gs.collections.api.RichIterable<T>public <R extends Collection<T>> R reject(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, R target)
reject in interface com.gs.collections.api.RichIterable<T>reject in class AbstractRichIterable<T>public <P> com.gs.collections.api.list.MutableList<T> rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface com.gs.collections.api.collection.MutableCollection<T>rejectWith in interface com.gs.collections.api.list.ListIterable<T>rejectWith in interface com.gs.collections.api.list.MutableList<T>rejectWith in interface com.gs.collections.api.ordered.OrderedIterable<T>rejectWith in interface com.gs.collections.api.ordered.ReversibleIterable<T>rejectWith in interface com.gs.collections.api.RichIterable<T>public <P,R extends Collection<T>> R rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, R target)
rejectWith in interface com.gs.collections.api.RichIterable<T>rejectWith in class AbstractRichIterable<T>public <P> com.gs.collections.api.tuple.Twin<com.gs.collections.api.list.MutableList<T>> selectAndRejectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
selectAndRejectWith in interface com.gs.collections.api.collection.MutableCollection<T>selectAndRejectWith in class AbstractMutableCollection<T>public com.gs.collections.api.partition.list.PartitionMutableList<T> partition(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
partition in interface com.gs.collections.api.collection.MutableCollection<T>partition in interface com.gs.collections.api.list.ListIterable<T>partition in interface com.gs.collections.api.list.MutableList<T>partition in interface com.gs.collections.api.ordered.OrderedIterable<T>partition in interface com.gs.collections.api.ordered.ReversibleIterable<T>partition in interface com.gs.collections.api.RichIterable<T>public <P> com.gs.collections.api.partition.list.PartitionMutableList<T> partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface com.gs.collections.api.collection.MutableCollection<T>partitionWith in interface com.gs.collections.api.list.ListIterable<T>partitionWith in interface com.gs.collections.api.list.MutableList<T>partitionWith in interface com.gs.collections.api.ordered.OrderedIterable<T>partitionWith in interface com.gs.collections.api.ordered.ReversibleIterable<T>partitionWith in interface com.gs.collections.api.RichIterable<T>public <S> com.gs.collections.api.list.MutableList<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface com.gs.collections.api.collection.MutableCollection<T>selectInstancesOf in interface com.gs.collections.api.list.ListIterable<T>selectInstancesOf in interface com.gs.collections.api.list.MutableList<T>selectInstancesOf in interface com.gs.collections.api.ordered.OrderedIterable<T>selectInstancesOf in interface com.gs.collections.api.ordered.ReversibleIterable<T>selectInstancesOf in interface com.gs.collections.api.RichIterable<T>public boolean removeIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
removeIf in interface com.gs.collections.api.collection.MutableCollection<T>removeIf in class AbstractMutableCollection<T>public <P> boolean removeIfWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
removeIfWith in interface com.gs.collections.api.collection.MutableCollection<T>removeIfWith in class AbstractMutableCollection<T>public <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
collect in interface com.gs.collections.api.collection.MutableCollection<T>collect in interface com.gs.collections.api.list.ListIterable<T>collect in interface com.gs.collections.api.list.MutableList<T>collect in interface com.gs.collections.api.ordered.OrderedIterable<T>collect in interface com.gs.collections.api.ordered.ReversibleIterable<T>collect in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableBooleanList collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction)
collectBoolean in interface com.gs.collections.api.collection.MutableCollection<T>collectBoolean in interface com.gs.collections.api.list.ListIterable<T>collectBoolean in interface com.gs.collections.api.list.MutableList<T>collectBoolean in interface com.gs.collections.api.ordered.OrderedIterable<T>collectBoolean in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectBoolean in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableByteList collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction)
collectByte in interface com.gs.collections.api.collection.MutableCollection<T>collectByte in interface com.gs.collections.api.list.ListIterable<T>collectByte in interface com.gs.collections.api.list.MutableList<T>collectByte in interface com.gs.collections.api.ordered.OrderedIterable<T>collectByte in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectByte in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableCharList collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super T> charFunction)
collectChar in interface com.gs.collections.api.collection.MutableCollection<T>collectChar in interface com.gs.collections.api.list.ListIterable<T>collectChar in interface com.gs.collections.api.list.MutableList<T>collectChar in interface com.gs.collections.api.ordered.OrderedIterable<T>collectChar in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectChar in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableDoubleList collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction)
collectDouble in interface com.gs.collections.api.collection.MutableCollection<T>collectDouble in interface com.gs.collections.api.list.ListIterable<T>collectDouble in interface com.gs.collections.api.list.MutableList<T>collectDouble in interface com.gs.collections.api.ordered.OrderedIterable<T>collectDouble in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectDouble in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableFloatList collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction)
collectFloat in interface com.gs.collections.api.collection.MutableCollection<T>collectFloat in interface com.gs.collections.api.list.ListIterable<T>collectFloat in interface com.gs.collections.api.list.MutableList<T>collectFloat in interface com.gs.collections.api.ordered.OrderedIterable<T>collectFloat in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectFloat in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableIntList collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> intFunction)
collectInt in interface com.gs.collections.api.collection.MutableCollection<T>collectInt in interface com.gs.collections.api.list.ListIterable<T>collectInt in interface com.gs.collections.api.list.MutableList<T>collectInt in interface com.gs.collections.api.ordered.OrderedIterable<T>collectInt in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectInt in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableLongList collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> longFunction)
collectLong in interface com.gs.collections.api.collection.MutableCollection<T>collectLong in interface com.gs.collections.api.list.ListIterable<T>collectLong in interface com.gs.collections.api.list.MutableList<T>collectLong in interface com.gs.collections.api.ordered.OrderedIterable<T>collectLong in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectLong in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.primitive.MutableShortList collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction)
collectShort in interface com.gs.collections.api.collection.MutableCollection<T>collectShort in interface com.gs.collections.api.list.ListIterable<T>collectShort in interface com.gs.collections.api.list.MutableList<T>collectShort in interface com.gs.collections.api.ordered.OrderedIterable<T>collectShort in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectShort in interface com.gs.collections.api.RichIterable<T>public <V,R extends Collection<V>> R collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function, R target)
collect in interface com.gs.collections.api.RichIterable<T>collect in class AbstractRichIterable<T>public <V> com.gs.collections.api.list.MutableList<V> flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
flatCollect in interface com.gs.collections.api.collection.MutableCollection<T>flatCollect in interface com.gs.collections.api.list.ListIterable<T>flatCollect in interface com.gs.collections.api.list.MutableList<T>flatCollect in interface com.gs.collections.api.ordered.OrderedIterable<T>flatCollect in interface com.gs.collections.api.ordered.ReversibleIterable<T>flatCollect in interface com.gs.collections.api.RichIterable<T>public <V,R extends Collection<V>> R flatCollect(com.gs.collections.api.block.function.Function<? super T,? extends Iterable<V>> function, R target)
flatCollect in interface com.gs.collections.api.RichIterable<T>flatCollect in class AbstractRichIterable<T>public <P,V> com.gs.collections.api.list.MutableList<V> collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends V> function, P parameter)
collectWith in interface com.gs.collections.api.collection.MutableCollection<T>collectWith in interface com.gs.collections.api.list.ListIterable<T>collectWith in interface com.gs.collections.api.list.MutableList<T>collectWith in interface com.gs.collections.api.ordered.OrderedIterable<T>collectWith in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectWith in interface com.gs.collections.api.RichIterable<T>public <P,A,R extends Collection<A>> R collectWith(com.gs.collections.api.block.function.Function2<? super T,? super P,? extends A> function, P parameter, R target)
collectWith in interface com.gs.collections.api.RichIterable<T>collectWith in class AbstractRichIterable<T>public <V> com.gs.collections.api.list.MutableList<V> collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, com.gs.collections.api.block.function.Function<? super T,? extends V> function)
collectIf in interface com.gs.collections.api.collection.MutableCollection<T>collectIf in interface com.gs.collections.api.list.ListIterable<T>collectIf in interface com.gs.collections.api.list.MutableList<T>collectIf in interface com.gs.collections.api.ordered.OrderedIterable<T>collectIf in interface com.gs.collections.api.ordered.ReversibleIterable<T>collectIf in interface com.gs.collections.api.RichIterable<T>public <V,R extends Collection<V>> R collectIf(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, com.gs.collections.api.block.function.Function<? super T,? extends V> function, R target)
collectIf in interface com.gs.collections.api.RichIterable<T>collectIf in class AbstractRichIterable<T>public T detect(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
detect in interface com.gs.collections.api.RichIterable<T>detect in class AbstractRichIterable<T>public T detectIfNone(com.gs.collections.api.block.predicate.Predicate<? super T> predicate, com.gs.collections.api.block.function.Function0<? extends T> function)
detectIfNone in interface com.gs.collections.api.RichIterable<T>detectIfNone in class AbstractRichIterable<T>public int detectIndex(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
detectIndex in interface com.gs.collections.api.ordered.OrderedIterable<T>public int detectLastIndex(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
detectLastIndex in interface com.gs.collections.api.ordered.ReversibleIterable<T>public T min(Comparator<? super T> comparator)
min in interface com.gs.collections.api.RichIterable<T>min in class AbstractRichIterable<T>public T max(Comparator<? super T> comparator)
max in interface com.gs.collections.api.RichIterable<T>max in class AbstractRichIterable<T>public T min()
min in interface com.gs.collections.api.ordered.OrderedIterable<T>min in interface com.gs.collections.api.RichIterable<T>min in class AbstractRichIterable<T>public T max()
max in interface com.gs.collections.api.ordered.OrderedIterable<T>max in interface com.gs.collections.api.RichIterable<T>max in class AbstractRichIterable<T>public <V extends Comparable<? super V>> T minBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
minBy in interface com.gs.collections.api.RichIterable<T>minBy in class AbstractRichIterable<T>public <V extends Comparable<? super V>> T maxBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
maxBy in interface com.gs.collections.api.RichIterable<T>maxBy in class AbstractRichIterable<T>public <P> T detectWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface com.gs.collections.api.RichIterable<T>detectWith in class AbstractRichIterable<T>public <P> T detectWithIfNone(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, com.gs.collections.api.block.function.Function0<? extends T> function)
detectWithIfNone in interface com.gs.collections.api.RichIterable<T>detectWithIfNone in class AbstractRichIterable<T>public int count(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
count in interface com.gs.collections.api.RichIterable<T>count in class AbstractRichIterable<T>public <P> int countWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
countWith in interface com.gs.collections.api.RichIterable<T>countWith in class AbstractRichIterable<T>public <S> boolean corresponds(com.gs.collections.api.ordered.OrderedIterable<S> other,
com.gs.collections.api.block.predicate.Predicate2<? super T,? super S> predicate)
corresponds in interface com.gs.collections.api.ordered.OrderedIterable<T>public boolean anySatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
anySatisfy in interface com.gs.collections.api.RichIterable<T>anySatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface com.gs.collections.api.RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public boolean allSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
allSatisfy in interface com.gs.collections.api.RichIterable<T>allSatisfy in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface com.gs.collections.api.RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public boolean noneSatisfy(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
noneSatisfy in interface com.gs.collections.api.RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface com.gs.collections.api.RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public <IV> IV injectInto(IV injectedValue,
com.gs.collections.api.block.function.Function2<? super IV,? super T,? extends IV> function)
injectInto in interface com.gs.collections.api.RichIterable<T>injectInto in class AbstractRichIterable<T>public int injectInto(int injectedValue,
com.gs.collections.api.block.function.primitive.IntObjectToIntFunction<? super T> function)
injectInto in interface com.gs.collections.api.RichIterable<T>injectInto in class AbstractRichIterable<T>public float injectInto(float injectedValue,
com.gs.collections.api.block.function.primitive.FloatObjectToFloatFunction<? super T> function)
injectInto in interface com.gs.collections.api.RichIterable<T>injectInto in class AbstractRichIterable<T>public com.gs.collections.api.list.MutableList<T> distinct()
distinct in interface com.gs.collections.api.list.ListIterable<T>distinct in interface com.gs.collections.api.list.MutableList<T>distinct in interface com.gs.collections.api.ordered.OrderedIterable<T>distinct in interface com.gs.collections.api.ordered.ReversibleIterable<T>public com.gs.collections.api.list.MutableList<T> distinct(com.gs.collections.api.block.HashingStrategy<? super T> hashingStrategy)
public long sumOfInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function)
sumOfInt in interface com.gs.collections.api.RichIterable<T>sumOfInt in class AbstractRichIterable<T>public long sumOfLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function)
sumOfLong in interface com.gs.collections.api.RichIterable<T>sumOfLong in class AbstractRichIterable<T>public double sumOfFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function)
sumOfFloat in interface com.gs.collections.api.RichIterable<T>sumOfFloat in class AbstractRichIterable<T>public double sumOfDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function)
sumOfDouble in interface com.gs.collections.api.RichIterable<T>sumOfDouble in class AbstractRichIterable<T>public long injectInto(long injectedValue,
com.gs.collections.api.block.function.primitive.LongObjectToLongFunction<? super T> function)
injectInto in interface com.gs.collections.api.RichIterable<T>injectInto in class AbstractRichIterable<T>public <IV,P> IV injectIntoWith(IV injectValue,
com.gs.collections.api.block.function.Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter)
injectIntoWith in interface com.gs.collections.api.collection.MutableCollection<T>injectIntoWith in class AbstractMutableCollection<T>public com.gs.collections.api.list.MutableList<T> toList()
toList in interface com.gs.collections.api.RichIterable<T>toList in class AbstractRichIterable<T>public com.gs.collections.api.list.MutableList<T> toSortedList()
toSortedList in interface com.gs.collections.api.RichIterable<T>toSortedList in class AbstractRichIterable<T>public com.gs.collections.api.list.MutableList<T> toSortedList(Comparator<? super T> comparator)
toSortedList in interface com.gs.collections.api.RichIterable<T>toSortedList in class AbstractRichIterable<T>public com.gs.collections.api.set.MutableSet<T> toSet()
toSet in interface com.gs.collections.api.RichIterable<T>toSet in class AbstractRichIterable<T>public com.gs.collections.api.stack.MutableStack<T> toStack()
public com.gs.collections.api.list.MutableList<T> asUnmodifiable()
public com.gs.collections.api.list.ImmutableList<T> toImmutable()
public com.gs.collections.api.list.MutableList<T> asSynchronized()
public com.gs.collections.api.list.MutableList<T> sortThis(Comparator<? super T> comparator)
sortThis in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThis()
sortThis in interface com.gs.collections.api.list.MutableList<T>public <V extends Comparable<? super V>> com.gs.collections.api.list.MutableList<T> sortThisBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
sortThisBy in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByInt(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function)
sortThisByInt in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super T> function)
sortThisByBoolean in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByChar(com.gs.collections.api.block.function.primitive.CharFunction<? super T> function)
sortThisByChar in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super T> function)
sortThisByByte in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super T> function)
sortThisByShort in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function)
sortThisByFloat in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByLong(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function)
sortThisByLong in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> sortThisByDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function)
sortThisByDouble in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> newEmpty()
public com.gs.collections.api.list.MutableList<T> tap(com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
public void forEach(int from,
int to,
com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
forEach in interface com.gs.collections.api.ordered.OrderedIterable<T>public int indexOf(Object object)
public int lastIndexOf(Object object)
lastIndexOf in interface com.gs.collections.api.list.ListIterable<T>lastIndexOf in interface List<T>public ListIterator<T> listIterator()
listIterator in interface com.gs.collections.api.list.ListIterable<T>listIterator in interface List<T>public ListIterator<T> listIterator(int index)
listIterator in interface com.gs.collections.api.list.ListIterable<T>listIterator in interface List<T>public com.gs.collections.api.list.MutableList<T> toReversed()
public com.gs.collections.api.list.MutableList<T> reverseThis()
reverseThis in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> shuffleThis()
shuffleThis in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> shuffleThis(Random rnd)
shuffleThis in interface com.gs.collections.api.list.MutableList<T>public com.gs.collections.api.list.MutableList<T> subList(int fromIndex, int toIndex)
public boolean contains(Object object)
contains in interface com.gs.collections.api.RichIterable<T>contains in interface Collection<T>contains in interface List<T>contains in class AbstractRichIterable<T>public boolean containsAll(Collection<?> source)
containsAll in interface com.gs.collections.api.RichIterable<T>containsAll in interface Collection<T>containsAll in interface List<T>containsAll in class AbstractRichIterable<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>removeAll in interface List<T>removeAll in class AbstractMutableCollection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>retainAll in interface List<T>retainAll in class AbstractMutableCollection<T>public T getFirst()
public T getLast()
public void appendString(Appendable appendable, String separator)
appendString in interface com.gs.collections.api.RichIterable<T>appendString in class AbstractRichIterable<T>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface com.gs.collections.api.RichIterable<T>appendString in class AbstractRichIterable<T>public <V> FastListMultimap<V,T> groupBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
groupBy in interface com.gs.collections.api.collection.MutableCollection<T>groupBy in interface com.gs.collections.api.list.ListIterable<T>groupBy in interface com.gs.collections.api.list.MutableList<T>groupBy in interface com.gs.collections.api.ordered.OrderedIterable<T>groupBy in interface com.gs.collections.api.ordered.ReversibleIterable<T>groupBy in interface com.gs.collections.api.RichIterable<T>public <V> FastListMultimap<V,T> groupByEach(com.gs.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
groupByEach in interface com.gs.collections.api.collection.MutableCollection<T>groupByEach in interface com.gs.collections.api.list.ListIterable<T>groupByEach in interface com.gs.collections.api.list.MutableList<T>groupByEach in interface com.gs.collections.api.ordered.OrderedIterable<T>groupByEach in interface com.gs.collections.api.ordered.ReversibleIterable<T>groupByEach in interface com.gs.collections.api.RichIterable<T>public <K> com.gs.collections.api.map.MutableMap<K,T> groupByUniqueKey(com.gs.collections.api.block.function.Function<? super T,? extends K> function)
groupByUniqueKey in interface com.gs.collections.api.collection.MutableCollection<T>groupByUniqueKey in interface com.gs.collections.api.RichIterable<T>groupByUniqueKey in class AbstractMutableCollection<T>public <S> com.gs.collections.api.list.MutableList<com.gs.collections.api.tuple.Pair<T,S>> zip(Iterable<S> that)
zip in interface com.gs.collections.api.collection.MutableCollection<T>zip in interface com.gs.collections.api.list.ListIterable<T>zip in interface com.gs.collections.api.list.MutableList<T>zip in interface com.gs.collections.api.ordered.OrderedIterable<T>zip in interface com.gs.collections.api.ordered.ReversibleIterable<T>zip in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.MutableList<com.gs.collections.api.tuple.Pair<T,Integer>> zipWithIndex()
zipWithIndex in interface com.gs.collections.api.collection.MutableCollection<T>zipWithIndex in interface com.gs.collections.api.list.ListIterable<T>zipWithIndex in interface com.gs.collections.api.list.MutableList<T>zipWithIndex in interface com.gs.collections.api.ordered.OrderedIterable<T>zipWithIndex in interface com.gs.collections.api.ordered.ReversibleIterable<T>zipWithIndex in interface com.gs.collections.api.RichIterable<T>public com.gs.collections.api.list.MutableList<T> withoutAll(Iterable<? extends T> elements)
public ReverseIterable<T> asReversed()
asReversed in interface com.gs.collections.api.ordered.ReversibleIterable<T>public com.gs.collections.api.list.ParallelListIterable<T> asParallel(ExecutorService executorService, int batchSize)
asParallel in interface com.gs.collections.api.list.ListIterable<T>public int binarySearch(T key, Comparator<? super T> comparator)
binarySearch in interface com.gs.collections.api.list.ListIterable<T>public int binarySearch(T key)
binarySearch in interface com.gs.collections.api.list.ListIterable<T>public com.gs.collections.api.list.MutableList<T> take(int count)
public com.gs.collections.api.list.MutableList<T> takeWhile(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
takeWhile in interface com.gs.collections.api.list.ListIterable<T>takeWhile in interface com.gs.collections.api.list.MutableList<T>takeWhile in interface com.gs.collections.api.ordered.OrderedIterable<T>takeWhile in interface com.gs.collections.api.ordered.ReversibleIterable<T>public com.gs.collections.api.list.MutableList<T> drop(int count)
public com.gs.collections.api.list.MutableList<T> dropWhile(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
dropWhile in interface com.gs.collections.api.list.ListIterable<T>dropWhile in interface com.gs.collections.api.list.MutableList<T>dropWhile in interface com.gs.collections.api.ordered.OrderedIterable<T>dropWhile in interface com.gs.collections.api.ordered.ReversibleIterable<T>public com.gs.collections.api.partition.list.PartitionMutableList<T> partitionWhile(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
partitionWhile in interface com.gs.collections.api.list.ListIterable<T>partitionWhile in interface com.gs.collections.api.list.MutableList<T>partitionWhile in interface com.gs.collections.api.ordered.OrderedIterable<T>partitionWhile in interface com.gs.collections.api.ordered.ReversibleIterable<T>Copyright © 2004–2016. All rights reserved.