public class CollectShortToBooleanIterable extends AbstractLazyBooleanIterable
Constructor and Description |
---|
CollectShortToBooleanIterable(ShortIterable iterable,
ShortToBooleanFunction function) |
Modifier and Type | Method and Description |
---|---|
BooleanIterator |
booleanIterator() |
void |
each(BooleanProcedure procedure) |
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, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toArray, toBag, toList, toSet, toString
public CollectShortToBooleanIterable(ShortIterable iterable, ShortToBooleanFunction function)
public void each(BooleanProcedure procedure)
public BooleanIterator booleanIterator()
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyBooleanIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyBooleanIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyBooleanIterable
Copyright © 2004–2016. All rights reserved.