ImmutableLongCollection
, LongIterable
, LongList
, OrderedLongIterable
, PrimitiveIterable
, ReversibleLongIterable
public interface ImmutableLongList extends ImmutableLongCollection, LongList
Modifier and Type | Method | 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) |
|
ImmutableLongList |
toReversed() |
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
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutable
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
ImmutableLongList select(LongPredicate predicate)
LongIterable
select
in interface ImmutableLongCollection
select
in interface LongIterable
select
in interface LongList
select
in interface OrderedLongIterable
select
in interface ReversibleLongIterable
ImmutableLongList reject(LongPredicate predicate)
LongIterable
reject
in interface ImmutableLongCollection
reject
in interface LongIterable
reject
in interface LongList
reject
in interface OrderedLongIterable
reject
in interface ReversibleLongIterable
<V> ImmutableList<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface ImmutableLongCollection
collect
in interface LongIterable
collect
in interface LongList
collect
in interface OrderedLongIterable
collect
in interface ReversibleLongIterable
ImmutableLongList newWith(long element)
newWith
in interface ImmutableLongCollection
ImmutableLongList newWithout(long element)
newWithout
in interface ImmutableLongCollection
ImmutableLongList newWithAll(LongIterable elements)
newWithAll
in interface ImmutableLongCollection
ImmutableLongList newWithoutAll(LongIterable elements)
newWithoutAll
in interface ImmutableLongCollection
ImmutableLongList toReversed()
toReversed
in interface LongList
toReversed
in interface ReversibleLongIterable
ImmutableLongList distinct()
distinct
in interface LongList
distinct
in interface ReversibleLongIterable
ImmutableLongList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.