LongIterable
, PrimitiveIterable
ImmutableLongSet
, MutableLongSet
AbstractImmutableLongSet
, AbstractLongSet
, AbstractMutableLongKeySet
, LongHashSet
, SynchronizedLongSet
, UnmodifiableLongSet
public 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.
|
ImmutableLongSet |
toImmutable() |
Returns an immutable copy of this set.
|
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
boolean equals(Object o)
Set.equals(Object)
.int hashCode()
Set.hashCode()
.LongSet select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
LongSet reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
<V> SetIterable<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
LongSet freeze()
ImmutableLongSet toImmutable()
Copyright © 2004–2017. All rights reserved.