org.ojalgo.access
Class ArrayAccess.Primitive
java.lang.Object
org.ojalgo.access.ArrayAccess<Double>
org.ojalgo.access.ArrayAccess.Primitive
- All Implemented Interfaces:
- Access1D<Double>
- Enclosing class:
- ArrayAccess<N extends Number>
Deprecated. v32 Use SimpleArray
instead
@Deprecated
public static final class ArrayAccess.Primitive
- extends ArrayAccess<Double>
The purpose of (use case for) this class is to provide a minimal class
that implements the Access1D
interface and is mutable. Further
the user can assume that an ArrayAccess instance really
is an ArrayAccess.Big instance (and correspondingly for Double,
ComplexNumber and RationalNumber). Therefore it is safe to type cast and
reference the data attribute. Further this class allows you to,
with generics, mix primitive value arrays and object reference arrays.
- Author:
- apete
Field Summary |
double[] |
data
Deprecated. |
Method Summary |
double |
doubleValue(int anInd)
Deprecated. |
Double |
get(int anInd)
Deprecated. |
void |
set(int anInd,
double aValue)
Deprecated. |
void |
set(int anInd,
Double aValue)
Deprecated. |
data
public final double[] data
- Deprecated.
doubleValue
public double doubleValue(int anInd)
- Deprecated.
get
public Double get(int anInd)
- Deprecated.
set
public void set(int anInd,
double aValue)
- Deprecated.
- Specified by:
set
in class ArrayAccess<Double>
set
public void set(int anInd,
Double aValue)
- Deprecated.
- Specified by:
set
in class ArrayAccess<Double>