public abstract class ArrayUtils extends Object
Modifier and Type | Method and Description |
---|---|
static double[] |
copyOf(double[] original) |
static float[] |
copyOf(float[] original) |
static int[] |
copyOf(int[] original) |
static long[] |
copyOf(long[] original) |
static <T> T[] |
copyOf(T[] original) |
static void |
exchangeColumns(double[][] target,
int columnA,
int columnB) |
static void |
exchangeRows(double[][] target,
int rowA,
int rowB) |
static void |
fillAll(double[][] target,
double value) |
static void |
fillAll(double[][] target,
DoubleSupplier supplier) |
static void |
fillColumn(double[][] target,
int row,
int column,
double value) |
static void |
fillColumn(double[][] target,
int row,
int column,
DoubleSupplier supplier) |
static void |
fillDiagonal(double[][] target,
int row,
int column,
double value) |
static void |
fillDiagonal(double[][] target,
int row,
int column,
DoubleSupplier supplier) |
static void |
fillMatching(double[][] target,
double[][] left,
DoubleBinaryOperator function,
double right) |
static void |
fillMatching(double[][] target,
double[][] left,
DoubleBinaryOperator function,
double[][] right) |
static void |
fillMatching(double[][] target,
double left,
DoubleBinaryOperator function,
double[][] right) |
static void |
fillRange(double[][] target,
int first,
int limit,
double value) |
static void |
fillRange(double[][] target,
int first,
int limit,
DoubleSupplier supplier) |
static void |
fillRow(double[][] target,
int row,
int column,
double value) |
static void |
fillRow(double[][] target,
int row,
int column,
DoubleSupplier supplier) |
static void |
modifyAll(double[][] target,
DoubleUnaryOperator function) |
static void |
modifyColumn(double[][] target,
int row,
int column,
DoubleUnaryOperator function) |
static void |
modifyDiagonal(double[][] target,
int row,
int column,
DoubleUnaryOperator function) |
static void |
modifyRow(double[][] target,
int row,
int column,
DoubleUnaryOperator function) |
static void |
sort(long[] primary,
double[] secondary) |
static void |
sort(long[] primary,
Object[] secondary) |
static void |
visitAll(double[][] target,
DoubleConsumer visitor) |
static void |
visitColumn(double[][] target,
int row,
int column,
DoubleConsumer visitor) |
static void |
visitDiagonal(double[][] target,
int row,
int column,
DoubleConsumer visitor) |
static void |
visitRange(double[][] target,
int first,
int limit,
DoubleConsumer visitor) |
static void |
visitRow(double[][] target,
int row,
int column,
DoubleConsumer visitor) |
static Access1D<Double> |
wrapAccess1D(double[] target) |
static <N extends Number> |
wrapAccess1D(List<? extends N> target) |
static <N extends Number> |
wrapAccess1D(N[] target) |
static Access2D<Double> |
wrapAccess2D(double[][] target) |
static <N extends Number> |
wrapAccess2D(N[][] target) |
public static double[] copyOf(double[] original)
public static float[] copyOf(float[] original)
public static int[] copyOf(int[] original)
public static long[] copyOf(long[] original)
public static <T> T[] copyOf(T[] original)
public static void exchangeColumns(double[][] target, int columnA, int columnB)
public static void exchangeRows(double[][] target, int rowA, int rowB)
public static void fillAll(double[][] target, double value)
public static void fillAll(double[][] target, DoubleSupplier supplier)
public static void fillColumn(double[][] target, int row, int column, double value)
public static void fillColumn(double[][] target, int row, int column, DoubleSupplier supplier)
public static void fillDiagonal(double[][] target, int row, int column, double value)
public static void fillDiagonal(double[][] target, int row, int column, DoubleSupplier supplier)
public static void fillMatching(double[][] target, double left, DoubleBinaryOperator function, double[][] right)
public static void fillMatching(double[][] target, double[][] left, DoubleBinaryOperator function, double right)
public static void fillMatching(double[][] target, double[][] left, DoubleBinaryOperator function, double[][] right)
public static void fillRange(double[][] target, int first, int limit, double value)
public static void fillRange(double[][] target, int first, int limit, DoubleSupplier supplier)
public static void fillRow(double[][] target, int row, int column, double value)
public static void fillRow(double[][] target, int row, int column, DoubleSupplier supplier)
public static void modifyAll(double[][] target, DoubleUnaryOperator function)
public static void modifyColumn(double[][] target, int row, int column, DoubleUnaryOperator function)
public static void modifyDiagonal(double[][] target, int row, int column, DoubleUnaryOperator function)
public static void modifyRow(double[][] target, int row, int column, DoubleUnaryOperator function)
public static void sort(long[] primary, double[] secondary)
public static void sort(long[] primary, Object[] secondary)
public static void visitAll(double[][] target, DoubleConsumer visitor)
public static void visitColumn(double[][] target, int row, int column, DoubleConsumer visitor)
public static void visitDiagonal(double[][] target, int row, int column, DoubleConsumer visitor)
public static void visitRange(double[][] target, int first, int limit, DoubleConsumer visitor)
public static void visitRow(double[][] target, int row, int column, DoubleConsumer visitor)
Copyright © 2017 Optimatika. All rights reserved.