public interface ReversibleShortIterable extends OrderedShortIterable
| Modifier and Type | Method and Description |
|---|---|
LazyShortIterable |
asReversed() |
<V> ReversibleIterable<V> |
collect(ShortToObjectFunction<? 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(ShortIntToObjectFunction<? extends V> function)
Returns a new ReversibleIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
ReversibleShortIterable |
distinct() |
short |
getLast() |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectShortIntToObjectFunction<? super T,? extends T> function) |
ReversibleShortIterable |
reject(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
default ReversibleShortIterable |
rejectWithIndex(ShortIntPredicate predicate)
Returns a new ReversibleShortIterable excluding all elements with corresponding indexes matching the specified predicate.
|
ReversibleShortIterable |
select(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
default ReversibleShortIterable |
selectWithIndex(ShortIntPredicate predicate)
Returns a new ReversibleShortIterable including all elements with corresponding indexes matching the specified predicate.
|
ReversibleShortIterable |
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, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, shortIterator, sum, summaryStatistics, tap, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringshort getLast()
LazyShortIterable asReversed()
ReversibleShortIterable select(ShortPredicate predicate)
ShortIterableselect in interface OrderedShortIterableselect in interface ShortIterableReversibleShortIterable reject(ShortPredicate predicate)
ShortIterablereject in interface OrderedShortIterablereject in interface ShortIterabledefault ReversibleShortIterable selectWithIndex(ShortIntPredicate predicate)
selectWithIndex in interface OrderedShortIterabledefault ReversibleShortIterable rejectWithIndex(ShortIntPredicate predicate)
rejectWithIndex in interface OrderedShortIterable<V> ReversibleIterable<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface OrderedShortIterablecollect in interface ShortIterabledefault <V> ReversibleIterable<V> collectWithIndex(ShortIntToObjectFunction<? extends V> function)
collectWithIndex in interface OrderedShortIterableReversibleShortIterable toReversed()
ReversibleShortIterable distinct()
<T> T injectIntoWithIndex(T injectedValue,
ObjectShortIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedShortIterableCopyright © 2004–2022. All rights reserved.