ImmutableLongCollection
, LongIterable
, LongSet
, PrimitiveIterable
AbstractImmutableLongSet
public 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.
|
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
equals, freeze, hashCode, toImmutable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableLongSet select(LongPredicate predicate)
LongIterable
select
in interface ImmutableLongCollection
select
in interface LongIterable
select
in interface LongSet
ImmutableLongSet reject(LongPredicate predicate)
LongIterable
reject
in interface ImmutableLongCollection
reject
in interface LongIterable
reject
in interface LongSet
<V> ImmutableSet<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface ImmutableLongCollection
collect
in interface LongIterable
collect
in interface LongSet
ImmutableLongSet newWith(long element)
newWith
in interface ImmutableLongCollection
ImmutableLongSet newWithout(long element)
newWithout
in interface ImmutableLongCollection
ImmutableLongSet newWithAll(LongIterable elements)
newWithAll
in interface ImmutableLongCollection
ImmutableLongSet newWithoutAll(LongIterable elements)
newWithoutAll
in interface ImmutableLongCollection
Copyright © 2004–2017. All rights reserved.