IntIterable
, IntList
, MutableIntCollection
, OrderedIntIterable
, PrimitiveIterable
, ReversibleIntIterable
IntArrayList
, SynchronizedIntList
, UnmodifiableIntList
public interface MutableIntList extends MutableIntCollection, IntList
Modifier and Type | Method | Description |
---|---|---|
boolean |
addAllAtIndex(int index,
int... source) |
|
boolean |
addAllAtIndex(int index,
IntIterable source) |
|
void |
addAtIndex(int index,
int element) |
|
MutableIntList |
asSynchronized() |
|
MutableIntList |
asUnmodifiable() |
|
<V> MutableList<V> |
collect(IntToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableIntList |
distinct() |
|
MutableIntList |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
int |
removeAtIndex(int index) |
|
MutableIntList |
reverseThis() |
|
MutableIntList |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
int |
set(int index,
int element) |
|
MutableIntList |
sortThis() |
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableIntList |
subList(int fromIndex,
int toIndex) |
|
default MutableIntList |
tap(IntProcedure procedure) |
|
ImmutableIntList |
toImmutable() |
Returns an immutable copy of this list.
|
MutableIntList |
toReversed() |
|
MutableIntList |
with(int element) |
|
MutableIntList |
withAll(IntIterable elements) |
|
MutableIntList |
without(int element) |
|
MutableIntList |
withoutAll(IntIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf
add, addAll, addAll, clear, intIterator, remove, removeAll, removeAll, retainAll, retainAll
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
void addAtIndex(int index, int element)
boolean addAllAtIndex(int index, int... source)
boolean addAllAtIndex(int index, IntIterable source)
int removeAtIndex(int index)
int set(int index, int element)
MutableIntList select(IntPredicate predicate)
IntIterable
select
in interface IntIterable
select
in interface IntList
select
in interface MutableIntCollection
select
in interface OrderedIntIterable
select
in interface ReversibleIntIterable
MutableIntList reject(IntPredicate predicate)
IntIterable
reject
in interface IntIterable
reject
in interface IntList
reject
in interface MutableIntCollection
reject
in interface OrderedIntIterable
reject
in interface ReversibleIntIterable
MutableIntList with(int element)
with
in interface MutableIntCollection
MutableIntList without(int element)
without
in interface MutableIntCollection
MutableIntList withAll(IntIterable elements)
withAll
in interface MutableIntCollection
MutableIntList withoutAll(IntIterable elements)
withoutAll
in interface MutableIntCollection
default MutableIntList tap(IntProcedure procedure)
tap
in interface IntIterable
tap
in interface IntList
tap
in interface MutableIntCollection
<V> MutableList<V> collect(IntToObjectFunction<? extends V> function)
IntIterable
collect
in interface IntIterable
collect
in interface IntList
collect
in interface MutableIntCollection
collect
in interface OrderedIntIterable
collect
in interface ReversibleIntIterable
MutableIntList reverseThis()
MutableIntList toReversed()
toReversed
in interface IntList
toReversed
in interface ReversibleIntIterable
MutableIntList distinct()
distinct
in interface IntList
distinct
in interface ReversibleIntIterable
MutableIntList sortThis()
MutableIntList asUnmodifiable()
asUnmodifiable
in interface MutableIntCollection
MutableIntList asSynchronized()
asSynchronized
in interface MutableIntCollection
ImmutableIntList toImmutable()
toImmutable
in interface IntList
toImmutable
in interface MutableIntCollection
MutableIntList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.