MutableShortCollection, OrderedShortIterable, PrimitiveIterable, ReversibleShortIterable, ShortIterable, ShortListShortArrayList, SynchronizedShortList, UnmodifiableShortListpublic 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.
|
default <V> MutableList<V> |
collectWithIndex(ShortIntToObjectFunction<? extends V> function) |
Returns a new MutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
MutableShortList |
distinct() |
|
default MutableShortList |
newEmpty() |
Creates a new empty mutable version of the same List type.
|
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) |
|
default <T> MutableList<ShortObjectPair<T>> |
zip(java.lang.Iterable<T> list) |
Returns a
MutableList formed from this MutableShortList and a ListIterable by
combining corresponding elements in pairs. |
default MutableList<ShortShortPair> |
zipShort(ShortIterable iterable) |
Returns a
MutableList formed from this MutableShortList and another ShortList by
combining corresponding elements in pairs. |
add, addAll, addAll, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAll, shortIteratorcollectWithIndex, forEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, toSortedListbinarySearch, dotProduct, equals, get, hashCode, lastIndexOfvoid 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)
ShortIterableselect in interface MutableShortCollectionselect in interface OrderedShortIterableselect in interface ReversibleShortIterableselect in interface ShortIterableselect in interface ShortListMutableShortList reject(ShortPredicate predicate)
ShortIterablereject in interface MutableShortCollectionreject in interface OrderedShortIterablereject in interface ReversibleShortIterablereject in interface ShortIterablereject in interface ShortListMutableShortList with(short element)
with in interface MutableShortCollectionMutableShortList without(short element)
without in interface MutableShortCollectionMutableShortList withAll(ShortIterable elements)
withAll in interface MutableShortCollectionMutableShortList withoutAll(ShortIterable elements)
withoutAll in interface MutableShortCollectiondefault MutableShortList tap(ShortProcedure procedure)
tap in interface MutableShortCollectiontap in interface ShortIterabletap in interface ShortList<V> MutableList<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface MutableShortCollectioncollect in interface OrderedShortIterablecollect in interface ReversibleShortIterablecollect in interface ShortIterablecollect in interface ShortListdefault <V> MutableList<V> collectWithIndex(ShortIntToObjectFunction<? extends V> function)
collectWithIndex in interface OrderedShortIterablecollectWithIndex in interface ReversibleShortIterablecollectWithIndex in interface ShortListMutableShortList reverseThis()
MutableShortList toReversed()
toReversed in interface ReversibleShortIterabletoReversed in interface ShortListMutableShortList distinct()
distinct in interface ReversibleShortIterabledistinct in interface ShortListMutableShortList sortThis()
MutableShortList asUnmodifiable()
asUnmodifiable in interface MutableShortCollectionMutableShortList asSynchronized()
asSynchronized in interface MutableShortCollectionImmutableShortList toImmutable()
toImmutable in interface MutableShortCollectiontoImmutable in interface ShortListMutableShortList subList(int fromIndex, int toIndex)
default MutableList<ShortShortPair> zipShort(ShortIterable iterable)
MutableList formed from this MutableShortList and another ShortList by
combining corresponding elements in pairs. If one of the two ShortLists is longer than the other, its
remaining elements are ignored.default <T> MutableList<ShortObjectPair<T>> zip(java.lang.Iterable<T> list)
MutableList formed from this MutableShortList and a ListIterable by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.default MutableShortList newEmpty()
newEmpty in interface MutableShortCollectionCopyright © 2004–2018. All rights reserved.