Class PicPoint.YComparator

  • All Implemented Interfaces:
    java.util.Comparator
    Enclosing class:
    PicPoint

    public static class PicPoint.YComparator
    extends java.lang.Object
    implements java.util.Comparator
    a comparator b/w PicPoint for Y-axis ordering
    • Constructor Summary

      Constructors 
      Constructor Description
      YComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Object o1, java.lang.Object o2)  
      boolean equals​(java.lang.Object otherComp)  
      • Methods inherited from class java.lang.Object

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

        reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • YComparator

        public YComparator()
    • Method Detail

      • compare

        public int compare​(java.lang.Object o1,
                           java.lang.Object o2)
        Specified by:
        compare in interface java.util.Comparator
      • equals

        public boolean equals​(java.lang.Object otherComp)
        Specified by:
        equals in interface java.util.Comparator
        Overrides:
        equals in class java.lang.Object