ImmutableIntCollection
, IntIterable
, IntSet
, PrimitiveIterable
AbstractImmutableIntSet
public interface ImmutableIntSet extends ImmutableIntCollection, IntSet
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableSet<V> |
collect(IntToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableIntSet |
newWith(int element) |
|
ImmutableIntSet |
newWithAll(IntIterable elements) |
|
ImmutableIntSet |
newWithout(int element) |
|
ImmutableIntSet |
newWithoutAll(IntIterable elements) |
|
ImmutableIntSet |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
ImmutableIntSet |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
default ImmutableIntSet |
tap(IntProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
equals, freeze, hashCode, toImmutable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableIntSet select(IntPredicate predicate)
IntIterable
select
in interface ImmutableIntCollection
select
in interface IntIterable
select
in interface IntSet
ImmutableIntSet reject(IntPredicate predicate)
IntIterable
reject
in interface ImmutableIntCollection
reject
in interface IntIterable
reject
in interface IntSet
default ImmutableIntSet tap(IntProcedure procedure)
tap
in interface ImmutableIntCollection
tap
in interface IntIterable
tap
in interface IntSet
<V> ImmutableSet<V> collect(IntToObjectFunction<? extends V> function)
IntIterable
collect
in interface ImmutableIntCollection
collect
in interface IntIterable
collect
in interface IntSet
ImmutableIntSet newWith(int element)
newWith
in interface ImmutableIntCollection
ImmutableIntSet newWithout(int element)
newWithout
in interface ImmutableIntCollection
ImmutableIntSet newWithAll(IntIterable elements)
newWithAll
in interface ImmutableIntCollection
ImmutableIntSet newWithoutAll(IntIterable elements)
newWithoutAll
in interface ImmutableIntCollection
Copyright © 2004–2019. All rights reserved.