ByteIterable, PrimitiveIterableByteList, ByteStack, ImmutableByteList, ImmutableByteStack, MutableByteList, MutableByteStack, ReversibleByteIterableAbstractByteStack, ByteArrayList, ByteArrayStack, SynchronizedByteList, SynchronizedByteStack, UnmodifiableByteList, UnmodifiableByteStackpublic interface OrderedByteIterable extends ByteIterable
| Modifier and Type | Method | Description |
|---|---|---|
<V> OrderedIterable<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> OrderedIterable<V> |
collectWithIndex(ByteIntToObjectFunction<? extends V> function) |
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V,R extends java.util.Collection<V>> |
collectWithIndex(ByteIntToObjectFunction<? extends V> function,
R target) |
Adds elements to the target Collection using results obtained by applying the specified function to each element
and its corresponding index.
|
void |
forEachWithIndex(ByteIntProcedure procedure) |
|
byte |
getFirst() |
|
int |
indexOf(byte value) |
|
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectByteIntToObjectFunction<? super T,? extends T> function) |
|
OrderedByteIterable |
reject(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
OrderedByteIterable |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
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, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringbyte getFirst()
int indexOf(byte value)
OrderedByteIterable select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableOrderedByteIterable reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterable<V> OrderedIterable<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterabledefault <V> OrderedIterable<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)
default <V,R extends java.util.Collection<V>> R collectWithIndex(ByteIntToObjectFunction<? extends V> function, R target)
<T> T injectIntoWithIndex(T injectedValue,
ObjectByteIntToObjectFunction<? super T,? extends T> function)
void forEachWithIndex(ByteIntProcedure procedure)
Copyright © 2004–2020. All rights reserved.