Class Solution.Pair

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Integer dis
      private Integer v
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getDis()
      final Unit setDis(Integer dis)
      final Integer getV()
      final Unit setV(Integer v)
      Integer compare(Solution.Pair p1, Solution.Pair p2)
      • Methods inherited from class java.util.Comparator

        reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait