public final class MetricUtils extends Object
| Constructor and Description |
|---|
MetricUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long[] |
concatArrays(List<long[]> arrays,
int start,
int size)
Concatenate
size many values from the passed in arrays, starting at offset start. |
static long |
sum(long[] array)
Return the sum of values in the array
|
public static long[] concatArrays(List<long[]> arrays, int start, int size)
size many values from the passed in arrays, starting at offset start.arrays - arrays to concatenatestart - starting offset positionsize - number of elementspublic static long sum(long[] array)
array - the array to sumCopyright © 2016 Pivotal Software, Inc.. All rights reserved.