Class Keyed1D<K, N extends Comparable<N>>
java.lang.Object
org.ojalgo.structure.Keyed1D<K,N>
- All Implemented Interfaces:
Structure1D
-
Nested Class Summary
Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytelongcount()The total number of elements in this structure.doubledoubleValue(K key) floatfloatValue(K key) intlongvoidvoidvoidvoidvoidvoidvoidset(K key, Comparable<?> value) shortshortValue(K key) intsize()The total number of elements in this structure.
-
Field Details
-
myMapper
-
myStructure
-
-
Constructor Details
-
Keyed1D
Keyed1D(Access1D<N> structure, Structure1D.IndexMapper<K> indexMapper)
-
-
Method Details
-
byteValue
-
count
public long count()Description copied from interface:Structure1DThe 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:
countin interfaceStructure1D
-
doubleValue
-
floatValue
-
get
-
intValue
-
longValue
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
shortValue
-
size
public int size()Description copied from interface:Structure1DThe total number of elements in this structure.- Specified by:
sizein interfaceStructure1D
-