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.
|
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.
|
ReversibleShortIterable |
select(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
ReversibleShortIterable |
toReversed() |
forEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, shortIterator, sum, summaryStatistics, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, 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 ShortIterable<V> ReversibleIterable<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface OrderedShortIterablecollect in interface ShortIterableReversibleShortIterable toReversed()
ReversibleShortIterable distinct()
<T> T injectIntoWithIndex(T injectedValue,
ObjectShortIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedShortIterableCopyright © 2004–2017. All rights reserved.