LongIterable, PrimitiveIterableImmutableLongBag, ImmutableLongList, ImmutableLongSetAbstractImmutableLongSetpublic interface ImmutableLongCollection extends LongIterable
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableCollection<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.
|
ImmutableLongCollection |
newWith(long element) |
|
ImmutableLongCollection |
newWithAll(LongIterable elements) |
|
ImmutableLongCollection |
newWithout(long element) |
|
ImmutableLongCollection |
newWithoutAll(LongIterable elements) |
|
ImmutableLongCollection |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableLongCollection |
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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString<V> ImmutableCollection<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterableImmutableLongCollection select(LongPredicate predicate)
LongIterableselect in interface LongIterableImmutableLongCollection reject(LongPredicate predicate)
LongIterablereject in interface LongIterableImmutableLongCollection newWith(long element)
ImmutableLongCollection newWithout(long element)
ImmutableLongCollection newWithAll(LongIterable elements)
ImmutableLongCollection newWithoutAll(LongIterable elements)
Copyright © 2004–2017. All rights reserved.