public class SelectBooleanIterable extends AbstractLazyBooleanIterable
Constructor and Description |
---|
SelectBooleanIterable(BooleanIterable delegate,
BooleanPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(BooleanPredicate predicate) |
boolean |
anySatisfy(BooleanPredicate predicate) |
BooleanIterator |
booleanIterator() |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(BooleanIterable source) |
int |
count(BooleanPredicate predicate) |
void |
each(BooleanProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(BooleanPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
boolean[] |
toArray() |
MutableBooleanBag |
toBag() |
MutableBooleanList |
toList() |
MutableBooleanSet |
toSet() |
appendString, appendString, appendString, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, forEach, injectInto, makeString, makeString, makeString, reject, select, toString
public SelectBooleanIterable(BooleanIterable delegate, BooleanPredicate predicate)
public BooleanIterator booleanIterator()
public void each(BooleanProcedure procedure)
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
public int count(BooleanPredicate predicate)
count
in interface BooleanIterable
count
in class AbstractLazyBooleanIterable
public boolean anySatisfy(BooleanPredicate predicate)
anySatisfy
in interface BooleanIterable
anySatisfy
in class AbstractLazyBooleanIterable
public boolean allSatisfy(BooleanPredicate predicate)
allSatisfy
in interface BooleanIterable
allSatisfy
in class AbstractLazyBooleanIterable
public boolean noneSatisfy(BooleanPredicate predicate)
noneSatisfy
in interface BooleanIterable
noneSatisfy
in class AbstractLazyBooleanIterable
public boolean[] toArray()
toArray
in interface BooleanIterable
toArray
in class AbstractLazyBooleanIterable
public boolean containsAll(boolean... source)
containsAll
in interface BooleanIterable
containsAll
in class AbstractLazyBooleanIterable
public boolean containsAll(BooleanIterable source)
containsAll
in interface BooleanIterable
containsAll
in class AbstractLazyBooleanIterable
public MutableBooleanList toList()
toList
in interface BooleanIterable
toList
in class AbstractLazyBooleanIterable
public MutableBooleanSet toSet()
toSet
in interface BooleanIterable
toSet
in class AbstractLazyBooleanIterable
public MutableBooleanBag toBag()
toBag
in interface BooleanIterable
toBag
in class AbstractLazyBooleanIterable
Copyright © 2004–2016. All rights reserved.