Class Keyed1D<K,N extends Comparable<N>>

java.lang.Object
org.ojalgo.structure.Keyed1D<K,N>
All Implemented Interfaces:
Structure1D

public final class Keyed1D<K,N extends Comparable<N>> extends Object implements Structure1D
  • Field Details

  • Constructor Details

  • Method Details

    • byteValue

      public byte byteValue(K key)
    • 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 interface Structure1D
    • doubleValue

      public double doubleValue(K key)
    • floatValue

      public float floatValue(K key)
    • get

      public N get(K key)
    • intValue

      public int intValue(K key)
    • longValue

      public long longValue(K key)
    • set

      public void set(K key, byte value)
    • set

      public void set(K key, Comparable<?> value)
    • set

      public void set(K key, double value)
    • set

      public void set(K key, float value)
    • set

      public void set(K key, int value)
    • set

      public void set(K key, long value)
    • set

      public void set(K key, short value)
    • shortValue

      public short shortValue(K key)
    • size

      public int size()
      Description copied from interface: Structure1D
      The total number of elements in this structure.
      Specified by:
      size in interface Structure1D