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.
|
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, 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
<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–2017. All rights reserved.