public interface MutableLongList extends MutableLongCollection, LongList
| Modifier and Type | Method and 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) |
default MutableLongList |
tap(LongProcedure procedure) |
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) |
add, addAll, addAll, clear, longIterator, remove, removeAll, removeAll, retainAll, retainAllbinarySearch, dotProduct, equals, get, hashCode, lastIndexOfasReversed, getLast, injectIntoWithIndexforEachWithIndex, getFirst, indexOfallSatisfy, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid 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)
LongIterableselect in interface LongIterableselect in interface LongListselect in interface MutableLongCollectionselect in interface OrderedLongIterableselect in interface ReversibleLongIterableMutableLongList reject(LongPredicate predicate)
LongIterablereject in interface LongIterablereject in interface LongListreject in interface MutableLongCollectionreject in interface OrderedLongIterablereject in interface ReversibleLongIterableMutableLongList with(long element)
with in interface MutableLongCollectionMutableLongList without(long element)
without in interface MutableLongCollectionMutableLongList withAll(LongIterable elements)
withAll in interface MutableLongCollectionMutableLongList withoutAll(LongIterable elements)
withoutAll in interface MutableLongCollectiondefault MutableLongList tap(LongProcedure procedure)
tap in interface LongIterabletap in interface LongListtap in interface MutableLongCollection<V> MutableList<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterablecollect in interface LongListcollect in interface MutableLongCollectioncollect in interface OrderedLongIterablecollect in interface ReversibleLongIterableMutableLongList reverseThis()
MutableLongList toReversed()
toReversed in interface LongListtoReversed in interface ReversibleLongIterableMutableLongList distinct()
distinct in interface LongListdistinct in interface ReversibleLongIterableMutableLongList sortThis()
MutableLongList asUnmodifiable()
asUnmodifiable in interface MutableLongCollectionMutableLongList asSynchronized()
asSynchronized in interface MutableLongCollectionImmutableLongList toImmutable()
toImmutable in interface LongListtoImmutable in interface MutableLongCollectionMutableLongList subList(int fromIndex, int toIndex)
subList in interface LongListList.subList(int fromIndex, int toIndex)Copyright © 2004–2017. All rights reserved.