ByteIterable, LazyByteIterable, PrimitiveIterablepublic class TapByteIterable extends AbstractLazyByteIterable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TapByteIterable.TapByteIterator |
| Constructor | Description |
|---|---|
TapByteIterable(ByteIterable delegate,
ByteProcedure procedure) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
allSatisfy(BytePredicate predicate) |
Returns true if all of the elements in the ByteIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(BytePredicate predicate) |
Returns true if any of the elements in the ByteIterable return true for the
specified predicate, otherwise returns false.
|
ByteIterator |
byteIterator() |
Returns a primitive iterator that can be used to iterate over the ByteIterable in an
imperative style.
|
byte |
detectIfNone(BytePredicate predicate,
byte ifNone) |
|
void |
each(ByteProcedure procedure) |
A synonym for forEach.
|
boolean |
noneSatisfy(BytePredicate predicate) |
Returns true if none of the elements in the ByteIterable return true for the
specified predicate, otherwise returns false.
|
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatisticspublic TapByteIterable(ByteIterable delegate, ByteProcedure procedure)
public void each(ByteProcedure procedure)
ByteIterablepublic boolean anySatisfy(BytePredicate predicate)
ByteIterableanySatisfy in interface ByteIterableanySatisfy in class AbstractLazyByteIterablepublic boolean allSatisfy(BytePredicate predicate)
ByteIterableallSatisfy in interface ByteIterableallSatisfy in class AbstractLazyByteIterablepublic boolean noneSatisfy(BytePredicate predicate)
ByteIterablenoneSatisfy in interface ByteIterablenoneSatisfy in class AbstractLazyByteIterablepublic byte detectIfNone(BytePredicate predicate, byte ifNone)
detectIfNone in interface ByteIterabledetectIfNone in class AbstractLazyByteIterablepublic ByteIterator byteIterator()
ByteIterableCopyright © 2004–2018. All rights reserved.