public static interface ParallelLongArray.SummaryStatistics
Modifier and Type | Method and Description |
---|---|
double |
average()
Returns the arithmetic average of all elements
|
int |
indexOfMax()
Returns the index of the maximum element, or -1 if empty
|
int |
indexOfMin()
Returns the index of the minimum element, or -1 if empty
|
long |
max()
Returns the maximum element, or Long.MIN_VALUE if empty
|
long |
min()
Returns the minimum element, or Long.MAX_VALUE if empty
|
int |
size()
Returns the number of elements
|
long |
sum()
Returns the sum of all elements
|
int size()
long min()
long max()
int indexOfMin()
int indexOfMax()
long sum()
double average()