137 |
|
* mapped ParallelDoubleArray. |
138 |
|
*/ |
139 |
|
public static interface SummaryStatistics { |
140 |
< |
/** Return the number of elements */ |
140 |
> |
/** Returns the number of elements */ |
141 |
|
public int size(); |
142 |
< |
/** Return the minimum element, or Double.MAX_VALUE if empty */ |
142 |
> |
/** Returns the minimum element, or Double.MAX_VALUE if empty */ |
143 |
|
public double min(); |
144 |
< |
/** Return the maximum element, or -Double.MAX_VALUE if empty */ |
144 |
> |
/** Returns the maximum element, or -Double.MAX_VALUE if empty */ |
145 |
|
public double max(); |
146 |
< |
/** Return the index of the minimum element, or -1 if empty */ |
146 |
> |
/** Returns the index of the minimum element, or -1 if empty */ |
147 |
|
public int indexOfMin(); |
148 |
< |
/** Return the index of the maximum element, or -1 if empty */ |
148 |
> |
/** Returns the index of the maximum element, or -1 if empty */ |
149 |
|
public int indexOfMax(); |
150 |
< |
/** Return the sum of all elements */ |
150 |
> |
/** Returns the sum of all elements */ |
151 |
|
public double sum(); |
152 |
< |
/** Return the arithmetic average of all elements */ |
152 |
> |
/** Returns the arithmetic average of all elements */ |
153 |
|
public double average(); |
154 |
|
} |
155 |
|
|
922 |
|
} |
923 |
|
|
924 |
|
/** |
925 |
< |
* Make len slots available at index |
925 |
> |
* Makes len slots available at index. |
926 |
|
*/ |
927 |
|
final void insertSlotsAt(int index, int len) { |
928 |
|
if (len <= 0) |