ByteIterable
, LazyByteIterable
, PrimitiveIterable
public 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, 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, toString
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
public TapByteIterable(ByteIterable delegate, ByteProcedure procedure)
public void each(ByteProcedure procedure)
ByteIterable
public boolean anySatisfy(BytePredicate predicate)
ByteIterable
anySatisfy
in interface ByteIterable
anySatisfy
in class AbstractLazyByteIterable
public boolean allSatisfy(BytePredicate predicate)
ByteIterable
allSatisfy
in interface ByteIterable
allSatisfy
in class AbstractLazyByteIterable
public boolean noneSatisfy(BytePredicate predicate)
ByteIterable
noneSatisfy
in interface ByteIterable
noneSatisfy
in class AbstractLazyByteIterable
public byte detectIfNone(BytePredicate predicate, byte ifNone)
detectIfNone
in interface ByteIterable
detectIfNone
in class AbstractLazyByteIterable
public ByteIterator byteIterator()
ByteIterable
Copyright © 2004–2017. All rights reserved.