public class Statistics
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Constructor and Description |
---|
Statistics() |
Statistics(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(double stats) |
boolean |
add(double[] stats) |
void |
add(int index,
double element) |
void |
clear() |
java.lang.Object |
clone() |
boolean |
contains(double elem) |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(java.lang.Object o) |
double |
get(int index) |
int |
indexOf(double value) |
boolean |
isEmpty() |
double |
largestValue() |
int |
lastIndexOf(double value) |
double |
removeIndex(int index) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
removeValue(double stats) |
double |
resetLargestValue() |
double |
set(int index,
double element) |
int |
size() |
double[] |
toArray() |
double[] |
toArray(double[] a) |
java.lang.String |
toString() |
void |
trimToSize() |
public void trimToSize()
public void ensureCapacity(int minCapacity)
public int size()
public double largestValue()
public boolean isEmpty()
public boolean contains(double elem)
public int indexOf(double value)
public int lastIndexOf(double value)
public java.lang.Object clone()
clone
in class java.lang.Object
public double[] toArray()
public double[] toArray(double[] a)
public double resetLargestValue()
public double get(int index)
public double set(int index, double element)
public boolean add(double stats)
public boolean add(double[] stats)
public void add(int index, double element)
public double removeIndex(int index)
public void clear()
protected void removeRange(int fromIndex, int toIndex)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean removeValue(double stats)
public java.lang.String toString()
toString
in class java.lang.Object