|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface DoubleQuantileFinder
Method Summary | |
---|---|
void |
add(double value)
Deprecated. Adds a value to the receiver. |
void |
addAllOf(DoubleArrayList values)
Deprecated. Adds all values of the specified list to the receiver. |
void |
addAllOfFromTo(DoubleArrayList values,
int from,
int to)
Deprecated. Adds the part of the specified list between indexes from (inclusive) and to (inclusive) to the receiver. |
void |
clear()
Deprecated. Removes all elements from the receiver. |
java.lang.Object |
clone()
Deprecated. Returns a deep copy of the receiver. |
boolean |
forEach(DoubleProcedure procedure)
Deprecated. Applies a procedure to each element of the receiver, if any. |
long |
memory()
Deprecated. Returns the number of elements currently needed to store all contained elements. |
double |
phi(double element)
Deprecated. Returns how many percent of the elements contained in the receiver are <= element. |
DoubleArrayList |
quantileElements(DoubleArrayList phis)
Deprecated. Computes the specified quantile elements over the values previously added. |
long |
size()
Deprecated. Returns the number of elements currently contained in the receiver (identical to the number of values added so far). |
Method Detail |
---|
void add(double value)
value
- the value to add.void addAllOf(DoubleArrayList values)
values
- the list of which all values shall be added.void addAllOfFromTo(DoubleArrayList values, int from, int to)
values
- the list of which elements shall be added.from
- the index of the first element to be added (inclusive).to
- the index of the last element to be added (inclusive).void clear()
java.lang.Object clone()
boolean forEach(DoubleProcedure procedure)
procedure
- the procedure to be applied. Stops iteration if the procedure returns false, otherwise
continues.
long memory()
double phi(double element)
element
- the element to search for.
DoubleArrayList quantileElements(DoubleArrayList phis)
phis
- the quantiles for which elements are to be computed. Each phi must be in the interval [0.0,1.0].
phis must be sorted ascending.
long size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |