public interface LongList extends ReversibleLongIterable
Modifier and Type | Method and Description |
---|---|
<V> ListIterable<V> |
collect(LongToObjectFunction<? extends V> function) |
long |
dotProduct(LongList list) |
boolean |
equals(Object o)
Follows the same general contract as
List.equals(Object) . |
long |
get(int index) |
int |
hashCode()
Follows the same general contract as
List.hashCode() . |
int |
lastIndexOf(long value) |
LongList |
reject(LongPredicate predicate) |
LongList |
select(LongPredicate predicate) |
LongList |
subList(int fromIndex,
int toIndex) |
ImmutableLongList |
toImmutable()
Returns an immutable copy of this list.
|
LongList |
toReversed() |
asReversed, forEachWithIndex, getFirst, getLast, indexOf, injectIntoWithIndex
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
long get(int index)
long dotProduct(LongList list)
int lastIndexOf(long value)
LongList select(LongPredicate predicate)
select
in interface LongIterable
select
in interface ReversibleLongIterable
LongList reject(LongPredicate predicate)
reject
in interface LongIterable
reject
in interface ReversibleLongIterable
<V> ListIterable<V> collect(LongToObjectFunction<? extends V> function)
collect
in interface LongIterable
collect
in interface ReversibleLongIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableLongList toImmutable()
LongList toReversed()
toReversed
in interface ReversibleLongIterable
LongList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2018. All rights reserved.