public interface DoubleStack extends DoubleIterable
| Modifier and Type | Method and Description |
|---|---|
<V> StackIterable<V> |
collect(DoubleToObjectFunction<? extends V> function) |
boolean |
equals(java.lang.Object o)
Follows the same general contract as
StackIterable.equals(Object). |
int |
hashCode()
Follows the same general contract as
StackIterable.hashCode(). |
double |
peek()
Returns the top of the stack.
|
DoubleList |
peek(int count)
Returns DoubleList of the number of elements specified by the count, beginning with the top of the stack.
|
double |
peekAt(int index)
Returns the element at the specified index.
|
DoubleStack |
reject(DoublePredicate predicate) |
DoubleStack |
select(DoublePredicate predicate) |
ImmutableDoubleStack |
toImmutable() |
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdouble peek()
DoubleList peek(int count)
double peekAt(int index)
index - the location to peek intoDoubleStack select(DoublePredicate predicate)
select in interface DoubleIterableDoubleStack reject(DoublePredicate predicate)
reject in interface DoubleIterable<V> StackIterable<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface DoubleIterableboolean equals(java.lang.Object o)
StackIterable.equals(Object).equals in class java.lang.Objectint hashCode()
StackIterable.hashCode().hashCode in class java.lang.ObjectImmutableDoubleStack toImmutable()