public interface LongList extends ReversibleLongIterable
| Modifier and Type | Method and Description |
|---|---|
int |
binarySearch(long value) |
<V> ListIterable<V> |
collect(LongToObjectFunction<? extends V> function) |
LongList |
distinct() |
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, getLast, injectIntoWithIndexforEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, 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 binarySearch(long value)
int lastIndexOf(long value)
LongList select(LongPredicate predicate)
select in interface LongIterableselect in interface OrderedLongIterableselect in interface ReversibleLongIterableLongList reject(LongPredicate predicate)
reject in interface LongIterablereject in interface OrderedLongIterablereject in interface ReversibleLongIterable<V> ListIterable<V> collect(LongToObjectFunction<? extends V> function)
collect in interface LongIterablecollect in interface OrderedLongIterablecollect in interface ReversibleLongIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableLongList toImmutable()
LongList distinct()
distinct in interface ReversibleLongIterableLongList toReversed()
toReversed in interface ReversibleLongIterableLongList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}Copyright © 2004–2017. All rights reserved.