ImmutableShortCollection
, OrderedShortIterable
, PrimitiveIterable
, ReversibleShortIterable
, ShortIterable
, ShortList
public interface ImmutableShortList extends ImmutableShortCollection, ShortList
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableList<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.
|
ImmutableShortList |
distinct() |
|
ImmutableShortList |
newWith(short element) |
|
ImmutableShortList |
newWithAll(ShortIterable elements) |
|
ImmutableShortList |
newWithout(short element) |
|
ImmutableShortList |
newWithoutAll(ShortIterable elements) |
|
ImmutableShortList |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ImmutableShortList |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
ImmutableShortList |
subList(int fromIndex,
int toIndex) |
|
default ImmutableShortList |
tap(ShortProcedure procedure) |
|
ImmutableShortList |
toReversed() |
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, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutable
ImmutableShortList select(ShortPredicate predicate)
ShortIterable
select
in interface ImmutableShortCollection
select
in interface OrderedShortIterable
select
in interface ReversibleShortIterable
select
in interface ShortIterable
select
in interface ShortList
ImmutableShortList reject(ShortPredicate predicate)
ShortIterable
reject
in interface ImmutableShortCollection
reject
in interface OrderedShortIterable
reject
in interface ReversibleShortIterable
reject
in interface ShortIterable
reject
in interface ShortList
default ImmutableShortList tap(ShortProcedure procedure)
tap
in interface ImmutableShortCollection
tap
in interface ShortIterable
tap
in interface ShortList
<V> ImmutableList<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterable
collect
in interface ImmutableShortCollection
collect
in interface OrderedShortIterable
collect
in interface ReversibleShortIterable
collect
in interface ShortIterable
collect
in interface ShortList
ImmutableShortList newWith(short element)
newWith
in interface ImmutableShortCollection
ImmutableShortList newWithout(short element)
newWithout
in interface ImmutableShortCollection
ImmutableShortList newWithAll(ShortIterable elements)
newWithAll
in interface ImmutableShortCollection
ImmutableShortList newWithoutAll(ShortIterable elements)
newWithoutAll
in interface ImmutableShortCollection
ImmutableShortList toReversed()
toReversed
in interface ReversibleShortIterable
toReversed
in interface ShortList
ImmutableShortList distinct()
distinct
in interface ReversibleShortIterable
distinct
in interface ShortList
ImmutableShortList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.