LongIterable, LongSet, MutableLongCollection, PrimitiveIterableAbstractMutableLongKeySet, LongHashSet, SynchronizedLongSet, UnmodifiableLongSetpublic 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, toSortedListadd, addAll, addAll, clear, longIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableLongSet select(LongPredicate predicate)
LongIterableselect in interface LongIterableselect in interface LongSetselect in interface MutableLongCollectionMutableLongSet reject(LongPredicate predicate)
LongIterablereject in interface LongIterablereject in interface LongSetreject in interface MutableLongCollectiondefault MutableLongSet tap(LongProcedure procedure)
tap in interface LongIterabletap in interface LongSettap in interface MutableLongCollection<V> MutableSet<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterablecollect in interface LongSetcollect in interface MutableLongCollectionMutableLongSet with(long element)
with in interface MutableLongCollectionMutableLongSet without(long element)
without in interface MutableLongCollectionMutableLongSet withAll(LongIterable elements)
withAll in interface MutableLongCollectionMutableLongSet withoutAll(LongIterable elements)
withoutAll in interface MutableLongCollectionMutableLongSet asUnmodifiable()
asUnmodifiable in interface MutableLongCollectionMutableLongSet asSynchronized()
asSynchronized in interface MutableLongCollectionLongSet freeze()
ImmutableLongSet toImmutable()
toImmutable in interface LongSettoImmutable in interface MutableLongCollectiondefault MutableLongSet newEmpty()
newEmpty in interface MutableLongCollectionCopyright © 2004–2018. All rights reserved.