Class SortInPlace.PairDoubleInteger

java.lang.Object
org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
Enclosing class:
SortInPlace

private static class SortInPlace.PairDoubleInteger extends Object
Helper data structure holding a (double, integer) pair.
  • 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

    • key

      double key()
      Returns:
      the key.
    • value

      int value()
      Returns:
      the value.