ImmutableLongCollection, LongIterable, LongSet, PrimitiveIterableAbstractImmutableLongSetpublic interface ImmutableLongSet extends ImmutableLongCollection, LongSet
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableSet<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.
|
ImmutableLongSet |
newWith(long element) |
|
ImmutableLongSet |
newWithAll(LongIterable elements) |
|
ImmutableLongSet |
newWithout(long element) |
|
ImmutableLongSet |
newWithoutAll(LongIterable elements) |
|
ImmutableLongSet |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableLongSet |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
default ImmutableLongSet |
tap(LongProcedure procedure) |
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, toSortedListequals, freeze, hashCode, toImmutableappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableLongSet select(LongPredicate predicate)
LongIterableselect in interface ImmutableLongCollectionselect in interface LongIterableselect in interface LongSetImmutableLongSet reject(LongPredicate predicate)
LongIterablereject in interface ImmutableLongCollectionreject in interface LongIterablereject in interface LongSetdefault ImmutableLongSet tap(LongProcedure procedure)
tap in interface ImmutableLongCollectiontap in interface LongIterabletap in interface LongSet<V> ImmutableSet<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface ImmutableLongCollectioncollect in interface LongIterablecollect in interface LongSetImmutableLongSet newWith(long element)
newWith in interface ImmutableLongCollectionImmutableLongSet newWithout(long element)
newWithout in interface ImmutableLongCollectionImmutableLongSet newWithAll(LongIterable elements)
newWithAll in interface ImmutableLongCollectionImmutableLongSet newWithoutAll(LongIterable elements)
newWithoutAll in interface ImmutableLongCollectionCopyright © 2004–2019. All rights reserved.