public interface ReversibleLongIterable extends OrderedLongIterable
| Modifier and Type | Method and Description |
|---|---|
LazyLongIterable |
asReversed() |
<V> ReversibleIterable<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.
|
default <V> ReversibleIterable<V> |
collectWithIndex(LongIntToObjectFunction<? extends V> function)
Returns a new ReversibleIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
ReversibleLongIterable |
distinct() |
long |
getLast() |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectLongIntToObjectFunction<? super T,? extends T> function) |
ReversibleLongIterable |
reject(LongPredicate predicate)
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
default ReversibleLongIterable |
rejectWithIndex(LongIntPredicate predicate)
Returns a new ReversibleLongIterable excluding all elements with corresponding indexes matching the specified predicate.
|
ReversibleLongIterable |
select(LongPredicate predicate)
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
default ReversibleLongIterable |
selectWithIndex(LongIntPredicate predicate)
Returns a new ReversibleLongIterable including all elements with corresponding indexes matching the specified predicate.
|
ReversibleLongIterable |
toReversed() |
collectWithIndex, forEachWithIndex, getFirst, indexOf, rejectWithIndex, selectWithIndexallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, tap, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringlong getLast()
LazyLongIterable asReversed()
ReversibleLongIterable select(LongPredicate predicate)
LongIterableselect in interface LongIterableselect in interface OrderedLongIterableReversibleLongIterable reject(LongPredicate predicate)
LongIterablereject in interface LongIterablereject in interface OrderedLongIterabledefault ReversibleLongIterable selectWithIndex(LongIntPredicate predicate)
selectWithIndex in interface OrderedLongIterabledefault ReversibleLongIterable rejectWithIndex(LongIntPredicate predicate)
rejectWithIndex in interface OrderedLongIterable<V> ReversibleIterable<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterablecollect in interface OrderedLongIterabledefault <V> ReversibleIterable<V> collectWithIndex(LongIntToObjectFunction<? extends V> function)
collectWithIndex in interface OrderedLongIterableReversibleLongIterable toReversed()
ReversibleLongIterable distinct()
<T> T injectIntoWithIndex(T injectedValue,
ObjectLongIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedLongIterableCopyright © 2004–2022. All rights reserved.