Class Keyed2D<R,C,N extends Comparable<N>>

java.lang.Object
org.ojalgo.structure.Keyed2D<R,C,N>
All Implemented Interfaces:
Structure1D

public final class Keyed2D<R,C,N extends Comparable<N>> extends Object implements Structure1D
  • Field Details

  • Constructor Details

  • Method Details

    • byteValue

      public byte byteValue(R row, C col)
    • 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(R row, C col)
    • floatValue

      public float floatValue(R row, C col)
    • get

      public N get(R row, C col)
    • intValue

      public int intValue(R row, C col)
    • longValue

      public long longValue(R row, C col)
    • set

      public void set(R row, C col, byte value)
    • set

      public void set(R row, C col, Comparable<?> value)
    • set

      public void set(R row, C col, double value)
    • set

      public void set(R row, C col, float value)
    • set

      public void set(R row, C col, int value)
    • set

      public void set(R row, C col, long value)
    • set

      public void set(R row, C col, short value)
    • shortValue

      public short shortValue(R row, C col)
    • size

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