Package edu.jas.poly

Class WordFactory.WordComparator

    • Constructor Summary

      Constructors 
      Constructor Description
      WordComparator()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract int compare​(Word e1, Word e2)  
      • 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
    • Method Detail

      • compare

        public abstract int compare​(Word e1,
                                    Word e2)
        Specified by:
        compare in interface java.util.Comparator<Word>