ByteIterable
, OrderedByteIterable
, PrimitiveIterable
ByteList
, ImmutableByteList
, MutableByteList
ByteArrayList
, SynchronizedByteList
, UnmodifiableByteList
public interface ReversibleByteIterable extends OrderedByteIterable
Modifier and Type | Method | Description |
---|---|---|
LazyByteIterable |
asReversed() |
|
<V> ReversibleIterable<V> |
collect(ByteToObjectFunction<? 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(ByteIntToObjectFunction<? extends V> function) |
Returns a new ReversibleIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
ReversibleByteIterable |
distinct() |
|
byte |
getLast() |
|
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectByteIntToObjectFunction<? super T,? extends T> function) |
|
ReversibleByteIterable |
reject(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
ReversibleByteIterable |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
ReversibleByteIterable |
toReversed() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, byteIterator, chunk, 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, sum, summaryStatistics, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collectWithIndex, forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
byte getLast()
LazyByteIterable asReversed()
ReversibleByteIterable select(BytePredicate predicate)
ByteIterable
select
in interface ByteIterable
select
in interface OrderedByteIterable
ReversibleByteIterable reject(BytePredicate predicate)
ByteIterable
reject
in interface ByteIterable
reject
in interface OrderedByteIterable
<V> ReversibleIterable<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterable
collect
in interface ByteIterable
collect
in interface OrderedByteIterable
default <V> ReversibleIterable<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)
collectWithIndex
in interface OrderedByteIterable
ReversibleByteIterable toReversed()
ReversibleByteIterable distinct()
<T> T injectIntoWithIndex(T injectedValue, ObjectByteIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface OrderedByteIterable
Copyright © 2004–2018. All rights reserved.