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()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(BytePredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
byte[] |
toArray() |
MutableByteBag |
toBag() |
MutableByteList |
toList() |
MutableByteSet |
toSet() |
appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toSortedArray, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
summaryStatistics
public SelectByteIterable(ByteIterable delegate, BytePredicate predicate)
public ByteIterator byteIterator()
public void each(ByteProcedure procedure)
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyByteIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyByteIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyByteIterable
public int count(BytePredicate predicate)
count
in interface ByteIterable
count
in class AbstractLazyByteIterable
public boolean anySatisfy(BytePredicate predicate)
anySatisfy
in interface ByteIterable
anySatisfy
in class AbstractLazyByteIterable
public boolean allSatisfy(BytePredicate predicate)
allSatisfy
in interface ByteIterable
allSatisfy
in class AbstractLazyByteIterable
public boolean noneSatisfy(BytePredicate predicate)
noneSatisfy
in interface ByteIterable
noneSatisfy
in class AbstractLazyByteIterable
public byte[] toArray()
toArray
in interface ByteIterable
toArray
in class AbstractLazyByteIterable
public boolean containsAll(byte... source)
containsAll
in interface ByteIterable
containsAll
in class AbstractLazyByteIterable
public boolean containsAll(ByteIterable source)
containsAll
in interface ByteIterable
containsAll
in class AbstractLazyByteIterable
public MutableByteList toList()
toList
in interface ByteIterable
toList
in class AbstractLazyByteIterable
public MutableByteSet toSet()
toSet
in interface ByteIterable
toSet
in class AbstractLazyByteIterable
public MutableByteBag toBag()
toBag
in interface ByteIterable
toBag
in class AbstractLazyByteIterable
Copyright © 2004–2016. All rights reserved.