Class TraceInFileSorter

  • All Implemented Interfaces:
    java.util.Comparator<java.lang.Integer>, TraceSorter

    public class TraceInFileSorter
    extends java.lang.Object
    implements TraceSorter
    • Method Summary

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

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

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

      • TraceInFileSorter

        public TraceInFileSorter​(LogView view)
    • Method Detail

      • compare

        public int compare​(java.lang.Integer o1,
                           java.lang.Integer o2)
        Specified by:
        compare in interface java.util.Comparator<java.lang.Integer>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Comparator<java.lang.Integer>
        Overrides:
        equals in class java.lang.Object