public class SelectByteIterable extends AbstractLazyByteIterable
| Constructor and Description |
|---|
SelectByteIterable(ByteIterable delegate,
BytePredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(BytePredicate predicate) |
boolean |
anySatisfy(BytePredicate predicate) |
ByteIterator |
byteIterator() |
boolean |
containsAll(byte... source) |
boolean |
containsAll(ByteIterable source) |
int |
count(BytePredicate predicate) |
void |
each(ByteProcedure procedure) |
boolean |
isEmpty() |
boolean |
notEmpty() |
int |
size() |
byte[] |
toArray() |
MutableByteBag |
toBag() |
MutableByteList |
toList() |
MutableByteSet |
toSet() |
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toSortedArray, toSortedList, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBypublic SelectByteIterable(ByteIterable delegate, BytePredicate predicate)
public ByteIterator byteIterator()
public void each(ByteProcedure procedure)
public int size()
size in interface PrimitiveIterablesize in class AbstractLazyByteIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyByteIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyByteIterablepublic int count(BytePredicate predicate)
count in interface ByteIterablecount in class AbstractLazyByteIterablepublic boolean anySatisfy(BytePredicate predicate)
anySatisfy in interface ByteIterableanySatisfy in class AbstractLazyByteIterablepublic boolean allSatisfy(BytePredicate predicate)
allSatisfy in interface ByteIterableallSatisfy in class AbstractLazyByteIterablepublic byte[] toArray()
toArray in interface ByteIterabletoArray in class AbstractLazyByteIterablepublic boolean containsAll(byte... source)
containsAll in interface ByteIterablecontainsAll in class AbstractLazyByteIterablepublic boolean containsAll(ByteIterable source)
containsAll in interface ByteIterablecontainsAll in class AbstractLazyByteIterablepublic MutableByteList toList()
toList in interface ByteIterabletoList in class AbstractLazyByteIterablepublic MutableByteSet toSet()
toSet in interface ByteIterabletoSet in class AbstractLazyByteIterablepublic MutableByteBag toBag()
toBag in interface ByteIterabletoBag in class AbstractLazyByteIterableCopyright © 2004–2022. All rights reserved.