LongIterable, PrimitiveIterableImmutableLongSet, MutableLongSetAbstractImmutableLongSet, AbstractLongSet, AbstractMutableLongKeySet, LongHashSet, SynchronizedLongSet, UnmodifiableLongSetpublic interface LongSet extends LongIterable
| Modifier and Type | Method | Description |
|---|---|---|
<V> SetIterable<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.
|
boolean |
equals(Object o) |
Follows the same general contract as
Set.equals(Object). |
LongSet |
freeze() |
Returns a frozen copy of this set.
|
int |
hashCode() |
Follows the same general contract as
Set.hashCode(). |
LongSet |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
LongSet |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
default LongSet |
tap(LongProcedure procedure) |
|
ImmutableLongSet |
toImmutable() |
Returns an immutable copy of this set.
|
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdefault LongSet tap(LongProcedure procedure)
tap in interface LongIterableboolean equals(Object o)
Set.equals(Object).int hashCode()
Set.hashCode().LongSet select(LongPredicate predicate)
LongIterableselect in interface LongIterableLongSet reject(LongPredicate predicate)
LongIterablereject in interface LongIterable<V> SetIterable<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterableLongSet freeze()
ImmutableLongSet toImmutable()
Copyright © 2004–2019. All rights reserved.