Class MathArrays.PairDoubleInteger

  • Enclosing class:
    MathArrays

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

      Fields 
      Modifier and Type Field Description
      private double key
      Key
      private int value
      Value
    • Constructor Summary

      Constructors 
      Constructor Description
      PairDoubleInteger​(double key, int value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getKey()  
      int getValue()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        private final double key
        Key
      • value

        private final int value
        Value
    • Constructor Detail

      • PairDoubleInteger

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

      • getKey

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

        public int getValue()
        Returns:
        the value.