Class SortedPair<K extends java.lang.Comparable<K>,​V>

  • All Implemented Interfaces:
    java.lang.Comparable<SortedPair<K,​V>>

    public class SortedPair<K extends java.lang.Comparable<K>,​V>
    extends org.apache.commons.math3.util.Pair<K,​V>
    implements java.lang.Comparable<SortedPair<K,​V>>
    • Constructor Summary

      Constructors 
      Constructor Description
      SortedPair​(K k, V v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(SortedPair<K,​V> o)  
      • Methods inherited from class org.apache.commons.math3.util.Pair

        create, equals, getFirst, getKey, getSecond, getValue, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SortedPair

        public SortedPair​(K k,
                          V v)
    • Method Detail

      • compareTo

        public int compareTo​(SortedPair<K,​V> o)
        Specified by:
        compareTo in interface java.lang.Comparable<K extends java.lang.Comparable<K>>