public class doubleList
extends java.util.ArrayList<java.lang.Double>
| Constructor and Description |
|---|
doubleList() |
| Modifier and Type | Method and Description |
|---|---|
double |
max()
Loop through the list and find the maximal value.
|
double |
min()
Loop through the list and find the minimal value.
|
double |
sum()
Loop through the list and sum up its values
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic double sum()
public double max()
public double min()