BooleanIterable
, LazyBooleanIterable
, PrimitiveIterable
public class CollectShortToBooleanIterable extends AbstractLazyBooleanIterable
Constructor | Description |
---|---|
CollectShortToBooleanIterable(ShortIterable iterable,
ShortToBooleanFunction function) |
Modifier and Type | Method | Description |
---|---|---|
BooleanIterator |
booleanIterator() |
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an
imperative style.
|
void |
each(BooleanProcedure 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, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toArray, toBag, toList, toSet, toString
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, select
public CollectShortToBooleanIterable(ShortIterable iterable, ShortToBooleanFunction function)
public void each(BooleanProcedure procedure)
BooleanIterable
public BooleanIterator booleanIterator()
BooleanIterable
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–2019. All rights reserved.