| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanIterable | |
| private final BooleanPredicate |
| Access | Constructor and Description |
|---|---|
| public |
| delegate | back to summary |
|---|---|
| private final BooleanIterable delegate | |
| predicate | back to summary |
|---|---|
| private final BooleanPredicate predicate | |
| SelectBooleanIterable | back to summary |
|---|---|
| public SelectBooleanIterable(BooleanIterable delegate, BooleanPredicate predicate) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(BooleanPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if all of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(BooleanPredicate predicate) Overrides org. Implements org. Doc from org. Returns true if any of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.
| |
| booleanIterator | back to summary |
|---|---|
| public BooleanIterator booleanIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(boolean... source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source array are contained in the BooleanIterable, and false if they are not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(BooleanIterable source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source BooleanIterable are contained in the BooleanIterable, and false if they are not.
| |
| count | back to summary |
|---|---|
| public int count(BooleanPredicate predicate) Overrides org. Implements org. Doc from org. Returns a count of the number of elements in the BooleanIterable that return true for the specified predicate.
| |
| each | back to summary |
|---|---|
| public void each(BooleanProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Overrides default org. Doc from org. Returns true if this iterable has zero items.
| |
| notEmpty | back to summary |
|---|---|
| public boolean notEmpty() Overrides org. Overrides default org. Doc from org. The English equivalent of !this.isEmpty()
| |
| size | back to summary |
|---|---|
| public int size() Overrides org. Implements org. Doc from org. Returns the number of items in this iterable.
| |
| toArray | back to summary |
|---|---|
| public boolean[] toArray() Overrides org. Implements org. Doc from org. Converts the BooleanIterable to a primitive boolean array.
| |
| toBag | back to summary |
|---|---|
| public MutableBooleanBag toBag() Overrides org. Implements org. Doc from org. Converts the BooleanIterable to a new MutableBooleanBag.
| |
| toList | back to summary |
|---|---|
| public MutableBooleanList toList() Overrides org. Implements org. Doc from org. Converts the BooleanIterable to a new MutableBooleanList.
| |
| toSet | back to summary |
|---|---|
| public MutableBooleanSet toSet() Overrides org. Implements org. Doc from org. Converts the BooleanIterable to a new MutableBooleanSet.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final BooleanPredicate | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | value(boolean each)
Implements org.
|
| counter | back to summary |
|---|---|
| private int counter | |
| predicate | back to summary |
|---|---|
| private final BooleanPredicate predicate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CountBooleanProcedure | back to summary |
|---|---|
| private CountBooleanProcedure(BooleanPredicate predicate) | |
| getCount | back to summary |
|---|---|
| public int getCount() | |
| value | back to summary |
|---|---|
| public void value(boolean each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanProcedure | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(boolean each)
Implements org.
|
| procedure | back to summary |
|---|---|
| private final BooleanProcedure procedure | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IfBooleanProcedure | back to summary |
|---|---|
| private IfBooleanProcedure(BooleanProcedure procedure) | |
| value | back to summary |
|---|---|
| public void value(boolean each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanIterator | |
| private boolean | |
| private final BooleanPredicate | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean |
| iterator | back to summary |
|---|---|
| private final BooleanIterator iterator | |
| next | back to summary |
|---|---|
| private boolean next | |
| predicate | back to summary |
|---|---|
| private final BooleanPredicate predicate | |
| verifiedHasNext | back to summary |
|---|---|
| private boolean verifiedHasNext | |
| SelectBooleanIterator | back to summary |
|---|---|
| private SelectBooleanIterator(BooleanIterable iterable, BooleanPredicate predicate) | |
| SelectBooleanIterator | back to summary |
|---|---|
| private SelectBooleanIterator(BooleanIterator iterator, BooleanPredicate predicate) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public boolean next() Implements org.
| |