LongIterable
, LongList
, MutableLongCollection
, OrderedLongIterable
, PrimitiveIterable
, ReversibleLongIterable
LongArrayList
, SynchronizedLongList
, UnmodifiableLongList
public interface MutableLongList extends MutableLongCollection, LongList
Modifier and Type | Method | Description |
---|---|---|
boolean |
addAllAtIndex(int index,
long... source) |
|
boolean |
addAllAtIndex(int index,
LongIterable source) |
|
void |
addAtIndex(int index,
long element) |
|
MutableLongList |
asSynchronized() |
|
MutableLongList |
asUnmodifiable() |
|
<V> MutableList<V> |
collect(LongToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableLongList |
distinct() |
|
MutableLongList |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
long |
removeAtIndex(int index) |
|
MutableLongList |
reverseThis() |
|
MutableLongList |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
long |
set(int index,
long element) |
|
MutableLongList |
sortThis() |
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableLongList |
subList(int fromIndex,
int toIndex) |
|
ImmutableLongList |
toImmutable() |
Returns an immutable copy of this list.
|
MutableLongList |
toReversed() |
|
MutableLongList |
with(long element) |
|
MutableLongList |
withAll(LongIterable elements) |
|
MutableLongList |
without(long element) |
|
MutableLongList |
withoutAll(LongIterable elements) |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf
add, addAll, addAll, clear, longIterator, 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, long element)
boolean addAllAtIndex(int index, long... source)
boolean addAllAtIndex(int index, LongIterable source)
long removeAtIndex(int index)
long set(int index, long element)
MutableLongList select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
select
in interface LongList
select
in interface MutableLongCollection
select
in interface OrderedLongIterable
select
in interface ReversibleLongIterable
MutableLongList reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
reject
in interface LongList
reject
in interface MutableLongCollection
reject
in interface OrderedLongIterable
reject
in interface ReversibleLongIterable
MutableLongList with(long element)
with
in interface MutableLongCollection
MutableLongList without(long element)
without
in interface MutableLongCollection
MutableLongList withAll(LongIterable elements)
withAll
in interface MutableLongCollection
MutableLongList withoutAll(LongIterable elements)
withoutAll
in interface MutableLongCollection
<V> MutableList<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
collect
in interface LongList
collect
in interface MutableLongCollection
collect
in interface OrderedLongIterable
collect
in interface ReversibleLongIterable
MutableLongList reverseThis()
MutableLongList toReversed()
toReversed
in interface LongList
toReversed
in interface ReversibleLongIterable
MutableLongList distinct()
distinct
in interface LongList
distinct
in interface ReversibleLongIterable
MutableLongList sortThis()
MutableLongList asUnmodifiable()
asUnmodifiable
in interface MutableLongCollection
MutableLongList asSynchronized()
asSynchronized
in interface MutableLongCollection
ImmutableLongList toImmutable()
toImmutable
in interface LongList
toImmutable
in interface MutableLongCollection
MutableLongList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.