| Modifier and Type | Method and Description |
|---|---|
| public MutableDoubleStack | |
| public MutableDoubleStack | |
| public void | |
| public <V> MutableStack | collect(DoubleToObjectFunction<? 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> MutableStack | collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Overrides default org. Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index. |
| public default MutableDoubleStack | |
| public double | |
| public DoubleList | pop(int count)
Removes and returns a DoubleList of the number of elements specified by the count, beginning with the top of the stack. |
| public void | |
| public MutableDoubleStack | reject(DoublePredicate predicate)
Redeclares org. Returns a new DoubleIterable with all of the elements in the DoubleIterable that return false for the specified predicate. |
| public default MutableDoubleStack | rejectWithIndex(DoubleIntPredicate predicate)
Overrides default org. Returns a new MutableDoubleStack excluding all elements with corresponding indexes matching the specified predicate. |
| public MutableDoubleStack | select(DoublePredicate predicate)
Redeclares org. Returns a new DoubleIterable with all of the elements in the DoubleIterable that return true for the specified predicate. |
| public default MutableDoubleStack | selectWithIndex(DoubleIntPredicate predicate)
Overrides default org. Returns a new MutableDoubleStack including all elements with corresponding indexes matching the specified predicate. |
| public default MutableDoubleStack | tap(DoubleProcedure procedure)
Overrides default org.
|
| asSynchronized | back to summary |
|---|---|
| public MutableDoubleStack asSynchronized() | |
| asUnmodifiable | back to summary |
|---|---|
| public MutableDoubleStack asUnmodifiable() | |
| clear | back to summary |
|---|---|
| public void clear() Clears the Stack | |
| collect | back to summary |
|---|---|
| public <V> MutableStack 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> MutableStack Overrides default org. Returns a new MutableStack using results obtained by applying the specified function to each element and its corresponding index.
| |
| newEmpty | back to summary |
|---|---|
| public default MutableDoubleStack newEmpty() Creates a new empty mutable version of the same stack type.
| |
| pop | back to summary |
|---|---|
| public double pop() Removes and returns the top element of the stack. | |
| pop | back to summary |
|---|---|
| public DoubleList pop(int count) Removes and returns a DoubleList of the number of elements specified by the count, beginning with the top of the stack. | |
| push | back to summary |
|---|---|
| public void push(double item) Adds an item to the top of the stack. | |
| reject | back to summary |
|---|---|
| public MutableDoubleStack reject(DoublePredicate predicate) Redeclares org. Doc from org. Returns a new DoubleIterable with all of the elements in the DoubleIterable that return false for the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default MutableDoubleStack rejectWithIndex(DoubleIntPredicate predicate) Overrides default org. Returns a new MutableDoubleStack excluding all elements with corresponding indexes matching the specified predicate.
| |
| select | back to summary |
|---|---|
| public MutableDoubleStack select(DoublePredicate predicate) Redeclares org. Doc from org. Returns a new DoubleIterable with all of the elements in the DoubleIterable that return true for the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default MutableDoubleStack selectWithIndex(DoubleIntPredicate predicate) Overrides default org. Returns a new MutableDoubleStack including all elements with corresponding indexes matching the specified predicate.
| |
| tap | back to summary |
|---|---|
| public default MutableDoubleStack tap(DoubleProcedure procedure) Overrides default org.
| |