public abstract class AbstractDoubleStack extends Object implements DoubleStack
| Constructor and Description |
|---|
AbstractDoubleStack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(DoublePredicate predicate) |
boolean |
anySatisfy(DoublePredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyDoubleIterable |
asLazy() |
double |
average() |
RichIterable<DoubleIterable> |
chunk(int size) |
boolean |
contains(double value) |
boolean |
containsAll(double... source) |
boolean |
containsAll(DoubleIterable source) |
int |
count(DoublePredicate predicate) |
double |
detectIfNone(DoublePredicate predicate,
double ifNone) |
DoubleIterator |
doubleIterator() |
void |
each(DoubleProcedure procedure) |
boolean |
equals(Object otherStack) |
void |
forEachWithIndex(DoubleIntProcedure procedure) |
double |
getFirst() |
int |
hashCode() |
int |
indexOf(double value) |
<V> V |
injectInto(V injectedValue,
ObjectDoubleToObjectFunction<? super V,? extends V> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectDoubleIntToObjectFunction<? super T,? extends T> function) |
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(DoublePredicate predicate) |
double |
peek() |
DoubleList |
peek(int count) |
double |
peekAt(int index) |
int |
size() |
double |
sum() |
double[] |
toArray() |
double[] |
toArray(double[] target) |
MutableDoubleBag |
toBag() |
MutableDoubleList |
toList() |
MutableDoubleSet |
toSet() |
double[] |
toSortedArray() |
String |
toString() |
collect, collectWithIndex, reject, rejectWithIndex, select, selectWithIndex, tap, toImmutablecollectWithIndex, rejectWithIndex, selectWithIndexaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedList, toSortedListBy, toSortedListByisEmpty, notEmptypublic double peek()
peek in interface DoubleStackpublic DoubleList peek(int count)
peek in interface DoubleStackpublic double peekAt(int index)
peekAt in interface DoubleStackpublic DoubleIterator doubleIterator()
doubleIterator in interface DoubleIterablepublic void each(DoubleProcedure procedure)
each in interface DoubleIterablepublic int count(DoublePredicate predicate)
count in interface DoubleIterablepublic boolean anySatisfy(DoublePredicate predicate)
anySatisfy in interface DoubleIterablepublic boolean allSatisfy(DoublePredicate predicate)
allSatisfy in interface DoubleIterablepublic boolean noneSatisfy(DoublePredicate predicate)
noneSatisfy in interface DoubleIterablepublic double detectIfNone(DoublePredicate predicate, double ifNone)
detectIfNone in interface DoubleIterablepublic double[] toArray()
toArray in interface DoubleIterablepublic double[] toArray(double[] target)
toArray in interface DoubleIterablepublic boolean contains(double value)
contains in interface DoubleIterablepublic boolean containsAll(double... source)
containsAll in interface DoubleIterablepublic boolean containsAll(DoubleIterable source)
containsAll in interface DoubleIterablepublic MutableDoubleList toList()
toList in interface DoubleIterablepublic MutableDoubleSet toSet()
toSet in interface DoubleIterablepublic MutableDoubleBag toBag()
toBag in interface DoubleIterablepublic <V> V injectInto(V injectedValue,
ObjectDoubleToObjectFunction<? super V,? extends V> function)
injectInto in interface DoubleIterablepublic LazyDoubleIterable asLazy()
asLazy in interface DoubleIterablepublic int size()
size in interface PrimitiveIterablepublic boolean equals(Object otherStack)
equals in interface DoubleStackequals in class Objectpublic int hashCode()
hashCode in interface DoubleStackhashCode in class Objectpublic String toString()
toString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic double getFirst()
getFirst in interface OrderedDoubleIterablepublic int indexOf(double value)
indexOf in interface OrderedDoubleIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedDoubleIterablepublic void forEachWithIndex(DoubleIntProcedure procedure)
forEachWithIndex in interface OrderedDoubleIterablepublic RichIterable<DoubleIterable> chunk(int size)
chunk in interface DoubleIterablepublic double sum()
sum in interface DoubleIterablepublic double max()
max in interface DoubleIterablepublic double min()
min in interface DoubleIterablepublic double minIfEmpty(double defaultValue)
minIfEmpty in interface DoubleIterablepublic double maxIfEmpty(double defaultValue)
maxIfEmpty in interface DoubleIterablepublic double average()
average in interface DoubleIterablepublic double median()
median in interface DoubleIterablepublic double[] toSortedArray()
toSortedArray in interface DoubleIterableCopyright © 2004–2022. All rights reserved.