ByteIterable, LazyByteIterable, PrimitiveIterablepublic class CollectIntToByteIterable extends AbstractLazyByteIterable
| Constructor | Description |
|---|---|
CollectIntToByteIterable(IntIterable iterable,
IntToByteFunction function) |
| Modifier and Type | Method | Description |
|---|---|---|
ByteIterator |
byteIterator() |
Returns a primitive iterator that can be used to iterate over the ByteIterable in an
imperative style.
|
void |
each(ByteProcedure procedure) |
A synonym for forEach.
|
boolean |
isEmpty() |
Returns true if this iterable has zero items.
|
boolean |
notEmpty() |
The English equivalent of !this.isEmpty()
|
int |
size() |
Returns the number of items in this iterable.
|
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, summaryStatisticspublic CollectIntToByteIterable(IntIterable iterable, IntToByteFunction function)
public void each(ByteProcedure procedure)
ByteIterablepublic ByteIterator byteIterator()
ByteIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyByteIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyByteIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyByteIterableCopyright © 2004–2017. All rights reserved.