LongIterable, OrderedLongIterable, PrimitiveIterable, ReversibleLongIterableImmutableLongList, MutableLongListLongArrayList, SynchronizedLongList, UnmodifiableLongListpublic interface LongList extends ReversibleLongIterable
| Modifier and Type | Method | Description |
|---|---|---|
int |
binarySearch(long value) |
|
<V> ListIterable<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.
|
LongList |
distinct() |
|
long |
dotProduct(LongList list) |
|
boolean |
equals(java.lang.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) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
LongList |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
LongList |
subList(int fromIndex,
int toIndex) |
|
default LongList |
tap(LongProcedure procedure) |
|
ImmutableLongList |
toImmutable() |
Returns an immutable copy of this list.
|
LongList |
toReversed() |
allSatisfy, 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, toSortedListforEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexlong get(int index)
long dotProduct(LongList list)
int binarySearch(long value)
int lastIndexOf(long value)
LongList select(LongPredicate predicate)
LongIterableselect in interface LongIterableselect in interface OrderedLongIterableselect in interface ReversibleLongIterableLongList reject(LongPredicate predicate)
LongIterablereject in interface LongIterablereject in interface OrderedLongIterablereject in interface ReversibleLongIterabledefault LongList tap(LongProcedure procedure)
tap in interface LongIterable<V> ListIterable<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterablecollect in interface OrderedLongIterablecollect in interface ReversibleLongIterableboolean equals(java.lang.Object o)
List.equals(Object).equals in class java.lang.Objectint hashCode()
List.hashCode().hashCode in class java.lang.ObjectImmutableLongList 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.