Class SV.Sort

  • All Implemented Interfaces:
    java.util.Comparator<SV>
    Enclosing class:
    SV

    protected class SV.Sort
    extends java.lang.Object
    implements java.util.Comparator<SV>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int arrayPt  
      private java.lang.String myKey  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Sort​(int arrayPt, java.lang.String myKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(SV x, SV y)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Field Detail

      • arrayPt

        private int arrayPt
      • myKey

        private java.lang.String myKey
    • Constructor Detail

      • Sort

        protected Sort​(int arrayPt,
                       java.lang.String myKey)
    • Method Detail

      • compare

        public int compare​(SV x,
                           SV y)
        Specified by:
        compare in interface java.util.Comparator<SV>