ImmutableShortCollection
, PrimitiveIterable
, ShortIterable
, ShortSet
AbstractImmutableShortSet
public interface ImmutableShortSet extends ImmutableShortCollection, ShortSet
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableSet<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.
|
ImmutableShortSet |
newWith(short element) |
|
ImmutableShortSet |
newWithAll(ShortIterable elements) |
|
ImmutableShortSet |
newWithout(short element) |
|
ImmutableShortSet |
newWithoutAll(ShortIterable elements) |
|
ImmutableShortSet |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ImmutableShortSet |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
default ImmutableShortSet |
tap(ShortProcedure procedure) |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
allSatisfy, 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, reduce, reduceIfEmpty, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
equals, freeze, hashCode, toImmutable
ImmutableShortSet select(ShortPredicate predicate)
ShortIterable
select
in interface ImmutableShortCollection
select
in interface ShortIterable
select
in interface ShortSet
ImmutableShortSet reject(ShortPredicate predicate)
ShortIterable
reject
in interface ImmutableShortCollection
reject
in interface ShortIterable
reject
in interface ShortSet
default ImmutableShortSet tap(ShortProcedure procedure)
tap
in interface ImmutableShortCollection
tap
in interface ShortIterable
tap
in interface ShortSet
<V> ImmutableSet<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterable
collect
in interface ImmutableShortCollection
collect
in interface ShortIterable
collect
in interface ShortSet
ImmutableShortSet newWith(short element)
newWith
in interface ImmutableShortCollection
ImmutableShortSet newWithout(short element)
newWithout
in interface ImmutableShortCollection
ImmutableShortSet newWithAll(ShortIterable elements)
newWithAll
in interface ImmutableShortCollection
ImmutableShortSet newWithoutAll(ShortIterable elements)
newWithoutAll
in interface ImmutableShortCollection
Copyright © 2004–2019. All rights reserved.