tfw.immutable.ila.doubleila.DoubleIlaUtil Maven / Gradle / Ivy
package tfw.immutable.ila.doubleila;
import tfw.immutable.DataInvalidException;
public final class DoubleIlaUtil {
private DoubleIlaUtil() {}
public static double[] toArray(final DoubleIla doubleIla) throws DataInvalidException {
return toArray(doubleIla, 0, (int) Math.min(doubleIla.length(), Integer.MAX_VALUE));
}
public static double[] toArray(final DoubleIla doubleIla, final long ilaStart, final int length)
throws DataInvalidException {
double[] result = new double[length];
doubleIla.toArray(result, 0, ilaStart, length);
return result;
}
}
// AUTO GENERATED FROM TEMPLATE