| Modifier and Type | Method and Description |
|---|---|
| public <V> StackIterable | collect(BooleanToObjectFunction<? extends V> function)
Redeclares org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public default <V> StackIterable | collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
Overrides default org. Returns a new StackIterable using results obtained by applying the specified function to each element and its corresponding index. |
| public boolean | |
| public int | |
| public boolean | |
| public BooleanList | peek(int count)
Returns BooleanList of the number of elements specified by the count, beginning with the top of the stack. |
| public boolean | |
| public BooleanStack | reject(BooleanPredicate predicate)
Redeclares org. Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate. |
| public default BooleanStack | rejectWithIndex(BooleanIntPredicate predicate)
Overrides default org. Returns a new BooleanStack excluding all elements with corresponding indexes matching the specified predicate. |
| public BooleanStack | select(BooleanPredicate predicate)
Redeclares org. Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate. |
| public default BooleanStack | selectWithIndex(BooleanIntPredicate predicate)
Overrides default org. Returns a new BooleanStack including all elements with corresponding indexes matching the specified predicate. |
| public default BooleanStack | |
| public ImmutableBooleanStack |
| collect | back to summary |
|---|---|
| public <V> StackIterable Redeclares org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| collectWithIndex | back to summary |
|---|---|
| public default <V> StackIterable Overrides default org. Returns a new StackIterable using results obtained by applying the specified function to each element and its corresponding index.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Follows the same general contract as
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Follows the same general contract as
| |
| peek | back to summary |
|---|---|
| public boolean peek() Returns the top of the stack. | |
| peek | back to summary |
|---|---|
| public BooleanList peek(int count) Returns BooleanList of the number of elements specified by the count, beginning with the top of the stack. | |
| peekAt | back to summary |
|---|---|
| public boolean peekAt(int index) Returns the element at the specified index.
| |
| reject | back to summary |
|---|---|
| public BooleanStack reject(BooleanPredicate predicate) Redeclares org. Doc from org. Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default BooleanStack rejectWithIndex(BooleanIntPredicate predicate) Overrides default org. Returns a new BooleanStack excluding all elements with corresponding indexes matching the specified predicate.
| |
| select | back to summary |
|---|---|
| public BooleanStack select(BooleanPredicate predicate) Redeclares org. Doc from org. Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default BooleanStack selectWithIndex(BooleanIntPredicate predicate) Overrides default org. Returns a new BooleanStack including all elements with corresponding indexes matching the specified predicate.
| |
| tap | back to summary |
|---|---|
| public default BooleanStack tap(BooleanProcedure procedure) Overrides default org.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableBooleanStack toImmutable() | |