public class ArrayRankDouble
extends java.lang.Object
| Constructor | Description |
|---|---|
ArrayRankDouble() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaxValueIndex(double[] array) |
Get the index position of maximum value the given array
|
int |
getMinValueIndex(double[] array) |
Get the index position of minimum value in the given array
|
double |
getNthOrderedValue(double[] array,
int n,
boolean ascending) |
Get the n-th value in the array after sorted
|
public int getMaxValueIndex(double[] array)
array - public int getMinValueIndex(double[] array)
array - public double getNthOrderedValue(double[] array,
int n,
boolean ascending)
array - n - ascending - is ascending order or notCopyright © 2018. All Rights Reserved.