Class MathArrays.PairDoubleInteger

java.lang.Object
org.apache.commons.math3.util.MathArrays.PairDoubleInteger
Enclosing class:
MathArrays

private static class MathArrays.PairDoubleInteger extends Object
A helper data structure holding a double and an integer value.
  • Field Details

    • key

      private final double key
      Key
    • value

      private final int value
      Value
  • Constructor Details

    • PairDoubleInteger

      PairDoubleInteger(double key, int value)
      Parameters:
      key - Key.
      value - Value.
  • Method Details

    • getKey

      public double getKey()
      Returns:
      the key.
    • getValue

      public int getValue()
      Returns:
      the value.