IntIterable
, IntSet
, MutableIntCollection
, PrimitiveIterable
AbstractMutableIntKeySet
, IntHashSet
, SynchronizedIntSet
, UnmodifiableIntSet
public interface MutableIntSet extends MutableIntCollection, IntSet
Modifier and Type | Method | Description |
---|---|---|
MutableIntSet |
asSynchronized() |
|
MutableIntSet |
asUnmodifiable() |
|
<V> MutableSet<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.
|
IntSet |
freeze() |
Returns a frozen copy of this set.
|
MutableIntSet |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
MutableIntSet |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
default MutableIntSet |
tap(IntProcedure procedure) |
|
ImmutableIntSet |
toImmutable() |
Returns an immutable copy of this set.
|
MutableIntSet |
with(int element) |
|
MutableIntSet |
withAll(IntIterable elements) |
|
MutableIntSet |
without(int element) |
|
MutableIntSet |
withoutAll(IntIterable elements) |
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, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
add, addAll, addAll, clear, intIterator, remove, removeAll, removeAll, retainAll, retainAll
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableIntSet select(IntPredicate predicate)
IntIterable
select
in interface IntIterable
select
in interface IntSet
select
in interface MutableIntCollection
MutableIntSet reject(IntPredicate predicate)
IntIterable
reject
in interface IntIterable
reject
in interface IntSet
reject
in interface MutableIntCollection
default MutableIntSet tap(IntProcedure procedure)
tap
in interface IntIterable
tap
in interface IntSet
tap
in interface MutableIntCollection
<V> MutableSet<V> collect(IntToObjectFunction<? extends V> function)
IntIterable
collect
in interface IntIterable
collect
in interface IntSet
collect
in interface MutableIntCollection
MutableIntSet with(int element)
with
in interface MutableIntCollection
MutableIntSet without(int element)
without
in interface MutableIntCollection
MutableIntSet withAll(IntIterable elements)
withAll
in interface MutableIntCollection
MutableIntSet withoutAll(IntIterable elements)
withoutAll
in interface MutableIntCollection
MutableIntSet asUnmodifiable()
asUnmodifiable
in interface MutableIntCollection
MutableIntSet asSynchronized()
asSynchronized
in interface MutableIntCollection
IntSet freeze()
ImmutableIntSet toImmutable()
toImmutable
in interface IntSet
toImmutable
in interface MutableIntCollection
Copyright © 2004–2017. All rights reserved.