LongIterable
, LongSet
, MutableLongCollection
, PrimitiveIterable
AbstractMutableLongKeySet
, LongHashSet
, SynchronizedLongSet
, UnmodifiableLongSet
public interface MutableLongSet extends MutableLongCollection, LongSet
Modifier and Type | Method | Description |
---|---|---|
MutableLongSet |
asSynchronized() |
|
MutableLongSet |
asUnmodifiable() |
|
<V> MutableSet<V> |
collect(LongToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
LongSet |
freeze() |
Returns a frozen copy of this set.
|
default MutableLongSet |
newEmpty() |
Creates a new empty mutable version of the same Set type.
|
MutableLongSet |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
MutableLongSet |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
default MutableLongSet |
tap(LongProcedure procedure) |
|
ImmutableLongSet |
toImmutable() |
Returns an immutable copy of this set.
|
MutableLongSet |
with(long element) |
|
MutableLongSet |
withAll(LongIterable elements) |
|
MutableLongSet |
without(long element) |
|
MutableLongSet |
withoutAll(LongIterable elements) |
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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
add, addAll, addAll, clear, longIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAll
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableLongSet select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
select
in interface LongSet
select
in interface MutableLongCollection
MutableLongSet reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
reject
in interface LongSet
reject
in interface MutableLongCollection
default MutableLongSet tap(LongProcedure procedure)
tap
in interface LongIterable
tap
in interface LongSet
tap
in interface MutableLongCollection
<V> MutableSet<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
collect
in interface LongSet
collect
in interface MutableLongCollection
MutableLongSet with(long element)
with
in interface MutableLongCollection
MutableLongSet without(long element)
without
in interface MutableLongCollection
MutableLongSet withAll(LongIterable elements)
withAll
in interface MutableLongCollection
MutableLongSet withoutAll(LongIterable elements)
withoutAll
in interface MutableLongCollection
MutableLongSet asUnmodifiable()
asUnmodifiable
in interface MutableLongCollection
MutableLongSet asSynchronized()
asSynchronized
in interface MutableLongCollection
LongSet freeze()
ImmutableLongSet toImmutable()
toImmutable
in interface LongSet
toImmutable
in interface MutableLongCollection
default MutableLongSet newEmpty()
newEmpty
in interface MutableLongCollection
Copyright © 2004–2018. All rights reserved.