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, injectIntoWithIndexallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringlong get(int index)
long dotProduct(LongList list)
int lastIndexOf(long value)
LongList select(LongPredicate predicate)
select in interface LongIterableselect in interface ReversibleLongIterableLongList reject(LongPredicate predicate)
reject in interface LongIterablereject in interface ReversibleLongIterable<V> ListIterable<V> collect(LongToObjectFunction<? extends V> function)
collect in interface LongIterablecollect in interface ReversibleLongIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableLongList toImmutable()
LongList toReversed()
toReversed in interface ReversibleLongIterableLongList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}Copyright © 2004–2017. All rights reserved.