MutableShortCollection
, OrderedShortIterable
, PrimitiveIterable
, ReversibleShortIterable
, ShortIterable
, ShortList
ShortArrayList
, SynchronizedShortList
, UnmodifiableShortList
public interface MutableShortList extends MutableShortCollection, ShortList
Modifier and Type | Method | Description |
---|---|---|
boolean |
addAllAtIndex(int index,
short... source) |
|
boolean |
addAllAtIndex(int index,
ShortIterable source) |
|
void |
addAtIndex(int index,
short element) |
|
MutableShortList |
asSynchronized() |
|
MutableShortList |
asUnmodifiable() |
|
<V> MutableList<V> |
collect(ShortToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableShortList |
distinct() |
|
MutableShortList |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
short |
removeAtIndex(int index) |
|
MutableShortList |
reverseThis() |
|
MutableShortList |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
short |
set(int index,
short element) |
|
MutableShortList |
sortThis() |
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableShortList |
subList(int fromIndex,
int toIndex) |
|
default MutableShortList |
tap(ShortProcedure procedure) |
|
ImmutableShortList |
toImmutable() |
Returns an immutable copy of this list.
|
MutableShortList |
toReversed() |
|
MutableShortList |
with(short element) |
|
MutableShortList |
withAll(ShortIterable elements) |
|
MutableShortList |
without(short element) |
|
MutableShortList |
withoutAll(ShortIterable elements) |
add, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAll, shortIterator
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
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
void addAtIndex(int index, short element)
boolean addAllAtIndex(int index, short... source)
boolean addAllAtIndex(int index, ShortIterable source)
short removeAtIndex(int index)
short set(int index, short element)
MutableShortList select(ShortPredicate predicate)
ShortIterable
select
in interface MutableShortCollection
select
in interface OrderedShortIterable
select
in interface ReversibleShortIterable
select
in interface ShortIterable
select
in interface ShortList
MutableShortList reject(ShortPredicate predicate)
ShortIterable
reject
in interface MutableShortCollection
reject
in interface OrderedShortIterable
reject
in interface ReversibleShortIterable
reject
in interface ShortIterable
reject
in interface ShortList
MutableShortList with(short element)
with
in interface MutableShortCollection
MutableShortList without(short element)
without
in interface MutableShortCollection
MutableShortList withAll(ShortIterable elements)
withAll
in interface MutableShortCollection
MutableShortList withoutAll(ShortIterable elements)
withoutAll
in interface MutableShortCollection
default MutableShortList tap(ShortProcedure procedure)
tap
in interface MutableShortCollection
tap
in interface ShortIterable
tap
in interface ShortList
<V> MutableList<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterable
collect
in interface MutableShortCollection
collect
in interface OrderedShortIterable
collect
in interface ReversibleShortIterable
collect
in interface ShortIterable
collect
in interface ShortList
MutableShortList reverseThis()
MutableShortList toReversed()
toReversed
in interface ReversibleShortIterable
toReversed
in interface ShortList
MutableShortList distinct()
distinct
in interface ReversibleShortIterable
distinct
in interface ShortList
MutableShortList sortThis()
MutableShortList asUnmodifiable()
asUnmodifiable
in interface MutableShortCollection
MutableShortList asSynchronized()
asSynchronized
in interface MutableShortCollection
ImmutableShortList toImmutable()
toImmutable
in interface MutableShortCollection
toImmutable
in interface ShortList
MutableShortList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.