public abstract class AbstractArrayAdapter<T> extends AbstractMutableList<T> implements RandomAccess
| Modifier and Type | Method and Description |
|---|---|
boolean |
abstractArrayAdapterEquals(AbstractArrayAdapter<?> list) |
void |
add(int index,
T element) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAll(int index,
Collection<? extends T> collection) |
boolean |
addAllIterable(Iterable<? extends T> iterable) |
boolean |
allSatisfy(Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
void |
clear() |
<V> MutableList<V> |
collect(Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collect(Function<? super T,? extends V> function,
R target) |
<V,R extends Collection<V>> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function,
R target) |
<P,A> MutableList<A> |
collectWith(Function2<? super T,? super P,? extends A> function,
P parameter) |
<P,A,R extends Collection<A>> |
collectWith(Function2<? super T,? super P,? extends A> function,
P parameter,
R target) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> collection) |
<S> boolean |
corresponds(OrderedIterable<S> other,
Predicate2<? super T,? super S> predicate) |
int |
count(Predicate<? super T> predicate) |
<P> int |
countWith(Predicate2<? super T,? super P> predicate,
P parameter) |
T |
detect(Predicate<? super T> predicate) |
int |
detectIndex(Predicate<? super T> predicate) |
int |
detectLastIndex(Predicate<? super T> predicate) |
Optional<T> |
detectOptional(Predicate<? super T> predicate) |
<P> T |
detectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> Optional<T> |
detectWithOptional(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableList<T> |
distinct() |
MutableList<T> |
distinct(HashingStrategy<? super T> hashingStrategy) |
MutableList<T> |
drop(int count) |
void |
each(Procedure<? super T> procedure) |
boolean |
equals(Object that) |
<V> MutableList<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V,R extends Collection<V>> |
flatCollect(Function<? super T,? extends Iterable<V>> function,
R target) |
void |
forEach(int fromIndex,
int toIndex,
Procedure<? super T> procedure) |
<P> void |
forEachWith(Procedure2<? super T,? super P> procedure,
P parameter) |
void |
forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super T> objectIntProcedure) |
void |
forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) |
T |
get(int index) |
T |
getFirst() |
T |
getLast() |
int |
hashCode() |
int |
indexOf(Object item) |
<IV> IV |
injectInto(IV injectedValue,
Function2<? super IV,? super T,? extends IV> function) |
<IV,P> IV |
injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object item) |
ListIterator<T> |
listIterator(int index) |
boolean |
noneSatisfy(Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
<R extends Collection<T>> |
reject(Predicate<? super T> predicate,
R target) |
<P,R extends Collection<T>> |
rejectWith(Predicate2<? super T,? super P> predicate,
P parameter,
R target) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(Predicate2<? super T,? super P> predicate,
P parameter) |
void |
replaceAll(UnaryOperator<T> operator) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAllIterable(Iterable<?> iterable) |
<R extends Collection<T>> |
select(Predicate<? super T> predicate,
R target) |
<P> Twin<MutableList<T>> |
selectAndRejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
selectWith(Predicate2<? super T,? super P> predicate,
P parameter,
R target) |
int |
size() |
void |
sort(Comparator<? super T> comparator) |
MutableList<T> |
subList(int fromIndex,
int toIndex) |
MutableList<T> |
take(int count) |
Object[] |
toArray() |
<E> E[] |
toArray(E[] array) |
appendString, asParallel, asReversed, asSynchronized, asUnmodifiable, binarySearch, chunk, clone, distinctBy, dropWhile, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, listIterator, max, max, maxBy, min, min, minBy, newEmpty, partition, partitionWhile, partitionWith, selectInstancesOf, sortThisByBoolean, sortThisByByte, sortThisByChar, sortThisByDouble, sortThisByFloat, sortThisByInt, sortThisByLong, sortThisByShort, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, takeWhile, tap, toSet, toSortedList, zip, zip, zipWithIndex, zipWithIndexadd, countBy, countByEach, countByWith, reduce, sumByDouble, sumByFloat, sumByInt, sumByLongasLazy, containsAllArguments, containsAllIterable, detectWithIfNone, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, into, toBag, toBiMap, toList, toMap, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toStringcollectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWithIndex, flatCollectWith, reject, rejectWith, rejectWithIndex, reverseThis, select, selectWith, selectWithIndex, shuffleThis, shuffleThis, sortThis, sortThis, sortThisBy, toImmutable, toImmutableList, toReversed, with, withAll, without, withoutAllaggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, sumByDouble, sumByFloat, sumByInt, sumByLongadd, set, spliteratorparallelStream, removeIf, streambinarySearch, forEachInBothreverseForEach, reverseForEachWithIndexcollectWithIndex, getFirstOptional, getLastOptional, rejectWithIndex, selectWithIndex, toStackaggregateBy, appendString, asLazy, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countByEach, countByWith, detectIfNone, detectWithIfNone, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, makeString, makeString, makeString, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toStringpublic boolean notEmpty()
notEmpty in interface RichIterable<T>public T getFirst()
getFirst in interface ListIterable<T>getFirst in interface OrderedIterable<T>getFirst in interface RichIterable<T>getFirst in class AbstractMutableList<T>public T getLast()
getLast in interface ListIterable<T>getLast in interface OrderedIterable<T>getLast in interface RichIterable<T>getLast in class AbstractMutableList<T>public void each(Procedure<? super T> procedure)
each in interface RichIterable<T>each in class AbstractMutableList<T>public void forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface InternalIterable<T>forEachWithIndex in interface OrderedIterable<T>forEachWithIndex in class AbstractMutableList<T>public void forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface OrderedIterable<T>forEachWithIndex in class AbstractMutableList<T>public boolean removeIf(Predicate<? super T> predicate)
removeIf in interface MutableCollection<T>removeIf in class AbstractMutableList<T>public <P> boolean removeIfWith(Predicate2<? super T,? super P> predicate, P parameter)
removeIfWith in interface MutableCollection<T>removeIfWith in class AbstractMutableList<T>public T detect(Predicate<? super T> predicate)
detect in interface RichIterable<T>detect in class AbstractMutableList<T>public <P> T detectWith(Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface RichIterable<T>detectWith in class AbstractMutableList<T>public Optional<T> detectOptional(Predicate<? super T> predicate)
detectOptional in interface RichIterable<T>detectOptional in class AbstractMutableList<T>public <P> Optional<T> detectWithOptional(Predicate2<? super T,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<T>detectWithOptional in class AbstractMutableList<T>public int detectIndex(Predicate<? super T> predicate)
detectIndex in interface OrderedIterable<T>detectIndex in class AbstractMutableList<T>public int detectLastIndex(Predicate<? super T> predicate)
detectLastIndex in interface ReversibleIterable<T>detectLastIndex in class AbstractMutableList<T>public int count(Predicate<? super T> predicate)
count in interface RichIterable<T>count in class AbstractMutableList<T>public <S> boolean corresponds(OrderedIterable<S> other, Predicate2<? super T,? super S> predicate)
corresponds in interface OrderedIterable<T>corresponds in class AbstractMutableList<T>public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy in interface RichIterable<T>anySatisfy in class AbstractMutableList<T>public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy in interface RichIterable<T>allSatisfy in class AbstractMutableList<T>public boolean noneSatisfy(Predicate<? super T> predicate)
noneSatisfy in interface RichIterable<T>noneSatisfy in class AbstractMutableList<T>public <IV> IV injectInto(IV injectedValue,
Function2<? super IV,? super T,? extends IV> function)
injectInto in interface RichIterable<T>injectInto in class AbstractMutableList<T>public <R extends Collection<T>> R select(Predicate<? super T> predicate, R target)
select in interface RichIterable<T>select in class AbstractMutableList<T>public <R extends Collection<T>> R reject(Predicate<? super T> predicate, R target)
reject in interface RichIterable<T>reject in class AbstractMutableList<T>public <V> MutableList<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface ListIterable<T>collect in interface MutableList<T>collect in interface OrderedIterable<T>collect in interface ReversibleIterable<T>collect in interface RichIterable<T>public <V,R extends Collection<V>> R collect(Function<? super T,? extends V> function, R target)
collect in interface RichIterable<T>collect in class AbstractMutableList<T>public <V,R extends Collection<V>> R collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
collectIf in interface RichIterable<T>collectIf in class AbstractMutableList<T>public <V> MutableList<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface MutableCollection<T>flatCollect in interface ListIterable<T>flatCollect in interface MutableList<T>flatCollect in interface OrderedIterable<T>flatCollect in interface ReversibleIterable<T>flatCollect in interface RichIterable<T>public <V,R extends Collection<V>> R flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
flatCollect in interface RichIterable<T>flatCollect in class AbstractMutableList<T>public <P> Twin<MutableList<T>> selectAndRejectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectAndRejectWith in interface MutableCollection<T>selectAndRejectWith in class AbstractMutableList<T>public int size()
size in interface Collection<T>size in interface List<T>size in interface RichIterable<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface List<T>isEmpty in interface RichIterable<T>isEmpty in class AbstractRichIterable<T>public boolean contains(Object o)
contains in interface Collection<T>contains in interface List<T>contains in interface RichIterable<T>contains in class AbstractMutableList<T>public Object[] toArray()
toArray in interface Collection<T>toArray in interface List<T>toArray in interface RichIterable<T>toArray in class AbstractRichIterable<T>public <E> E[] toArray(E[] array)
toArray in interface Collection<T>toArray in interface List<T>toArray in interface RichIterable<T>toArray in class AbstractRichIterable<T>public boolean remove(Object o)
remove in interface Collection<T>remove in interface List<T>remove in class AbstractMutableCollection<T>public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<T>containsAll in interface List<T>containsAll in interface RichIterable<T>containsAll in class AbstractMutableList<T>public boolean addAll(Collection<? extends T> collection)
addAll in interface Collection<T>addAll in interface List<T>addAll in class AbstractMutableCollection<T>public boolean addAllIterable(Iterable<? extends T> iterable)
addAllIterable in interface MutableCollection<T>addAllIterable in class AbstractMutableCollection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>removeAll in interface List<T>removeAll in class AbstractMutableList<T>public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface MutableCollection<T>removeAllIterable in class AbstractMutableCollection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>retainAll in interface List<T>retainAll in class AbstractMutableList<T>public boolean retainAllIterable(Iterable<?> iterable)
retainAllIterable in interface MutableCollection<T>retainAllIterable in class AbstractMutableCollection<T>public void replaceAll(UnaryOperator<T> operator)
replaceAll in interface List<T>public void sort(Comparator<? super T> comparator)
public void clear()
public boolean addAll(int index,
Collection<? extends T> collection)
public T get(int index)
public int indexOf(Object item)
indexOf in interface List<T>indexOf in interface OrderedIterable<T>indexOf in class AbstractMutableList<T>public int lastIndexOf(Object item)
lastIndexOf in interface List<T>lastIndexOf in interface ListIterable<T>lastIndexOf in class AbstractMutableList<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>listIterator in interface ListIterable<T>listIterator in class AbstractMutableList<T>public MutableList<T> subList(int fromIndex, int toIndex)
subList in interface List<T>subList in interface ListIterable<T>subList in interface MutableList<T>subList in class AbstractMutableList<T>public boolean equals(Object that)
equals in interface Collection<T>equals in interface List<T>equals in interface ListIterable<T>equals in class AbstractMutableList<T>public boolean abstractArrayAdapterEquals(AbstractArrayAdapter<?> list)
public int hashCode()
hashCode in interface Collection<T>hashCode in interface List<T>hashCode in interface ListIterable<T>hashCode in class AbstractMutableList<T>public <P> void forEachWith(Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<T>forEachWith in class AbstractMutableList<T>public <P,R extends Collection<T>> R selectWith(Predicate2<? super T,? super P> predicate, P parameter, R target)
selectWith in interface RichIterable<T>selectWith in class AbstractMutableList<T>public <P,R extends Collection<T>> R rejectWith(Predicate2<? super T,? super P> predicate, P parameter, R target)
rejectWith in interface RichIterable<T>rejectWith in class AbstractMutableList<T>public <P,A> MutableList<A> collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
collectWith in interface MutableCollection<T>collectWith in interface ListIterable<T>collectWith in interface MutableList<T>collectWith in interface OrderedIterable<T>collectWith in interface ReversibleIterable<T>collectWith in interface RichIterable<T>public <P,A,R extends Collection<A>> R collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R target)
collectWith in interface RichIterable<T>collectWith in class AbstractMutableList<T>public <IV,P> IV injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter)
injectIntoWith in interface MutableCollection<T>injectIntoWith in class AbstractMutableList<T>public void forEach(int fromIndex,
int toIndex,
Procedure<? super T> procedure)
forEach in interface OrderedIterable<T>forEach in class AbstractMutableList<T>public <P> int countWith(Predicate2<? super T,? super P> predicate, P parameter)
countWith in interface RichIterable<T>countWith in class AbstractMutableList<T>public <P> boolean anySatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<T>anySatisfyWith in class AbstractMutableList<T>public <P> boolean allSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<T>allSatisfyWith in class AbstractMutableList<T>public <P> boolean noneSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<T>noneSatisfyWith in class AbstractMutableList<T>public MutableList<T> distinct()
distinct in interface ListIterable<T>distinct in interface MutableList<T>distinct in interface OrderedIterable<T>distinct in interface ReversibleIterable<T>distinct in class AbstractMutableList<T>public MutableList<T> distinct(HashingStrategy<? super T> hashingStrategy)
distinct in interface ListIterable<T>distinct in interface MutableList<T>distinct in class AbstractMutableList<T>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface RichIterable<T>appendString in class AbstractMutableList<T>public MutableList<T> take(int count)
take in interface ListIterable<T>take in interface MutableList<T>take in interface ReversibleIterable<T>take in class AbstractMutableList<T>public MutableList<T> drop(int count)
drop in interface ListIterable<T>drop in interface MutableList<T>drop in interface ReversibleIterable<T>drop in class AbstractMutableList<T>Copyright © 2004–2022. All rights reserved.