Package | Description |
---|---|
com.net2plan.utils |
General utility static methods.
|
Modifier and Type | Method and Description |
---|---|
static Constants.SearchType |
Constants.SearchType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.SearchType[] |
Constants.SearchType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int[] |
BooleanUtils.find(boolean[] array,
boolean value,
Constants.SearchType searchType)
Returns the position(s) where a given value can be found into an array.
|
static int[] |
DoubleUtils.find(double[] array,
double value,
Constants.SearchType searchType)
Returns the position(s) where a given value can be found into an array.
|
static int[] |
IntUtils.find(int[] array,
int value,
Constants.SearchType searchType)
Returns the position(s) where a given value can be found into an array.
|
static int[] |
DoubleUtils.maxIndexes(double[] array,
Constants.SearchType searchType)
Returns the position(s) in which the maximum value is found.
|
static int[] |
IntUtils.maxIndexes(int[] array,
Constants.SearchType searchType)
Returns the position(s) in which the maximum value is found.
|
static int[][] |
DoubleUtils.maxMinIndexes(double[] array,
Constants.SearchType searchType)
Returns the position(s) in which the maximum/minimum values are found.
|
static int[][] |
IntUtils.maxMinIndexes(int[] array,
Constants.SearchType searchType)
Returns the position(s) in which the maximum/minimum values are found.
|
static int[] |
DoubleUtils.minIndexes(double[] array,
Constants.SearchType searchType)
Returns the position(s) in which the minimum value is found.
|
static int[] |
IntUtils.minIndexes(int[] array,
Constants.SearchType searchType)
Returns the position(s) in which the minimum value is found.
|