ReverseIterable
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanList |
| Access | Constructor and Description |
|---|---|
| public |
| adapted | back to summary |
|---|---|
| private final BooleanList adapted | |
| ReverseBooleanIterable | back to summary |
|---|---|
| public ReverseBooleanIterable(BooleanList newAdapted) | |
| adapt | back to summary |
|---|---|
| public static ReverseBooleanIterable adapt(BooleanList booleanList) | |
| asLazy | back to summary |
|---|---|
| public LazyBooleanIterable asLazy() Overrides org. Implements org. Doc from org. Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.
| |
| 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.
| |
| contains | back to summary |
|---|---|
| public boolean contains(boolean value) Overrides org. Implements org. Doc from org. Returns true if the value is contained in the BooleanIterable, and false if it is not.
| |
| 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.
| |
| 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 | currentIndex
Index of element to be returned by subsequent call to next. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean |
| currentIndex | back to summary |
|---|---|
| private int currentIndex Index of element to be returned by subsequent call to next. | |
| ReverseBooleanIterator | back to summary |
|---|---|
| private ReverseBooleanIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public boolean next() Implements org.
| |