public interface ImmutableLongList extends ImmutableLongCollection, LongList
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableList<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.
|
ImmutableLongList |
distinct() |
ImmutableLongList |
newWith(long element) |
ImmutableLongList |
newWithAll(LongIterable elements) |
ImmutableLongList |
newWithout(long element) |
ImmutableLongList |
newWithoutAll(LongIterable elements) |
ImmutableLongList |
reject(LongPredicate predicate)
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableLongList |
select(LongPredicate predicate)
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
ImmutableLongList |
subList(int fromIndex,
int toIndex) |
default ImmutableLongList |
tap(LongProcedure procedure) |
ImmutableLongList |
toReversed() |
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutableasReversed, getLast, injectIntoWithIndexforEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableLongList select(LongPredicate predicate)
LongIterableselect in interface ImmutableLongCollectionselect in interface LongIterableselect in interface LongListselect in interface OrderedLongIterableselect in interface ReversibleLongIterableImmutableLongList reject(LongPredicate predicate)
LongIterablereject in interface ImmutableLongCollectionreject in interface LongIterablereject in interface LongListreject in interface OrderedLongIterablereject in interface ReversibleLongIterabledefault ImmutableLongList tap(LongProcedure procedure)
tap in interface ImmutableLongCollectiontap in interface LongIterabletap in interface LongList<V> ImmutableList<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface ImmutableLongCollectioncollect in interface LongIterablecollect in interface LongListcollect in interface OrderedLongIterablecollect in interface ReversibleLongIterableImmutableLongList newWith(long element)
newWith in interface ImmutableLongCollectionImmutableLongList newWithout(long element)
newWithout in interface ImmutableLongCollectionImmutableLongList newWithAll(LongIterable elements)
newWithAll in interface ImmutableLongCollectionImmutableLongList newWithoutAll(LongIterable elements)
newWithoutAll in interface ImmutableLongCollectionImmutableLongList toReversed()
toReversed in interface LongListtoReversed in interface ReversibleLongIterableImmutableLongList distinct()
distinct in interface LongListdistinct in interface ReversibleLongIterableImmutableLongList subList(int fromIndex, int toIndex)
subList in interface LongListList.subList(int fromIndex, int toIndex)Copyright © 2004–2017. All rights reserved.