Package org.ojalgo.structure
Class Keyed2D<R,C,N extends Comparable<N>>
java.lang.Object
org.ojalgo.structure.Keyed2D<R,C,N>
- All Implemented Interfaces:
Structure1D
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,
B extends Structure1D.Logical<S, B>>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte
long
count()
The total number of elements in this structure.double
doubleValue
(R row, C col) float
floatValue
(R row, C col) int
long
void
void
void
void
void
void
void
set
(R row, C col, Comparable<?> value) short
shortValue
(R row, C col) int
size()
The total number of elements in this structure.
-
Field Details
-
myMapper
-
myStructure
-
-
Constructor Details
-
Keyed2D
Keyed2D(Access2D<N> structure, Structure2D.RowColumnMapper<R, C> indexMapper)
-
-
Method Details
-
byteValue
-
count
public long count()Description copied from interface:Structure1D
The total number of elements in this structure.You only need to implement this method if the structure can contain more than Integer.MAX_VALUE elements.
- Specified by:
count
in interfaceStructure1D
-
doubleValue
-
floatValue
-
get
-
intValue
-
longValue
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
shortValue
-
size
public int size()Description copied from interface:Structure1D
The total number of elements in this structure.- Specified by:
size
in interfaceStructure1D
-