public class IlvArrays extends Object
Modifier and Type | Method and Description |
---|---|
static double[] |
randomValues(int count,
double min,
double max)
Generates random values.
|
static double[] |
randomValues(int count,
double min,
double max,
double smooth)
Generates random values.
|
static void |
reverse(double[] array,
int count)
Reverses the contents of the specified array.
|
static void |
reverse(int[] array,
int count)
Reverses the contents of the specified array.
|
static void |
reverse(Object[] array,
int count)
Reverses the contents of the specified array.
|
public static double[] randomValues(int count, double min, double max)
public static double[] randomValues(int count, double min, double max, double smooth)
public static void reverse(double[] array, int count)
public static void reverse(int[] array, int count)
array
- The considered array.count
- The number of elements to reverse.public static void reverse(Object[] array, int count)
array
- The considered array.count
- The number of elements to reverse.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.