@NotThreadSafe public final class UnmodifiableDoubleStack extends Object implements org.eclipse.collections.api.stack.primitive.MutableDoubleStack, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyDoubleIterable |
asLazy() |
org.eclipse.collections.api.stack.primitive.MutableDoubleStack |
asSynchronized() |
org.eclipse.collections.api.stack.primitive.MutableDoubleStack |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.stack.MutableStack<V> |
collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
boolean |
contains(double value) |
boolean |
containsAll(double... source) |
boolean |
containsAll(org.eclipse.collections.api.DoubleIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate,
double ifNone) |
org.eclipse.collections.api.iterator.DoubleIterator |
doubleIterator() |
void |
each(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
boolean |
equals(Object otherStack) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
double |
max() |
double |
maxIfEmpty(double defaultValue) |
double |
median() |
double |
min() |
double |
minIfEmpty(double defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
notEmpty() |
double |
peek() |
org.eclipse.collections.api.list.primitive.DoubleList |
peek(int count) |
double |
peekAt(int index) |
double |
pop() |
org.eclipse.collections.api.list.primitive.DoubleList |
pop(int count) |
void |
push(double item) |
org.eclipse.collections.api.stack.primitive.MutableDoubleStack |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
org.eclipse.collections.api.stack.primitive.MutableDoubleStack |
select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
int |
size() |
double |
sum() |
double[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
toBag() |
org.eclipse.collections.api.stack.primitive.ImmutableDoubleStack |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toList() |
org.eclipse.collections.api.set.primitive.MutableDoubleSet |
toSet() |
double[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toSortedList() |
String |
toString() |
public void push(double item)
push in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic double pop()
pop in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic org.eclipse.collections.api.list.primitive.DoubleList pop(int count)
pop in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic double peek()
peek in interface org.eclipse.collections.api.stack.primitive.DoubleStackpublic org.eclipse.collections.api.list.primitive.DoubleList peek(int count)
peek in interface org.eclipse.collections.api.stack.primitive.DoubleStackpublic double peekAt(int index)
peekAt in interface org.eclipse.collections.api.stack.primitive.DoubleStackpublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic boolean contains(double value)
contains in interface org.eclipse.collections.api.DoubleIterablepublic boolean containsAll(double... source)
containsAll in interface org.eclipse.collections.api.DoubleIterablepublic boolean containsAll(org.eclipse.collections.api.DoubleIterable source)
containsAll in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.iterator.DoubleIterator doubleIterator()
doubleIterator in interface org.eclipse.collections.api.DoubleIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEach in interface org.eclipse.collections.api.DoubleIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
each in interface org.eclipse.collections.api.DoubleIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
count in interface org.eclipse.collections.api.DoubleIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
anySatisfy in interface org.eclipse.collections.api.DoubleIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
allSatisfy in interface org.eclipse.collections.api.DoubleIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.DoubleIterablepublic double detectIfNone(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate,
double ifNone)
detectIfNone in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.stack.primitive.MutableDoubleStack select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
select in interface org.eclipse.collections.api.DoubleIterableselect in interface org.eclipse.collections.api.stack.primitive.DoubleStackselect in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic org.eclipse.collections.api.stack.primitive.MutableDoubleStack reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
reject in interface org.eclipse.collections.api.DoubleIterablereject in interface org.eclipse.collections.api.stack.primitive.DoubleStackreject in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic <V> org.eclipse.collections.api.stack.MutableStack<V> collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.DoubleIterablecollect in interface org.eclipse.collections.api.stack.primitive.DoubleStackcollect in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic double sum()
sum in interface org.eclipse.collections.api.DoubleIterablepublic double max()
max in interface org.eclipse.collections.api.DoubleIterablepublic double min()
min in interface org.eclipse.collections.api.DoubleIterablepublic double minIfEmpty(double defaultValue)
minIfEmpty in interface org.eclipse.collections.api.DoubleIterablepublic double maxIfEmpty(double defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.DoubleIterablepublic double average()
average in interface org.eclipse.collections.api.DoubleIterablepublic double median()
median in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList toSortedList()
toSortedList in interface org.eclipse.collections.api.DoubleIterablepublic double[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.DoubleIterablepublic double[] toArray()
toArray in interface org.eclipse.collections.api.DoubleIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList toList()
toList in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.set.primitive.MutableDoubleSet toSet()
toSet in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.bag.primitive.MutableDoubleBag toBag()
toBag in interface org.eclipse.collections.api.DoubleIterablepublic boolean equals(Object otherStack)
public int hashCode()
public org.eclipse.collections.api.LazyDoubleIterable asLazy()
asLazy in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.stack.primitive.MutableDoubleStack asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic org.eclipse.collections.api.stack.primitive.MutableDoubleStack asSynchronized()
asSynchronized in interface org.eclipse.collections.api.stack.primitive.MutableDoubleStackpublic org.eclipse.collections.api.stack.primitive.ImmutableDoubleStack toImmutable()
toImmutable in interface org.eclipse.collections.api.stack.primitive.DoubleStackpublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.DoubleIterableCopyright © 2004–2017. All rights reserved.