Class ItemComparator

  • All Implemented Interfaces:

    public class ItemComparator
    extends java.lang.Object
    implements java.util.Comparator<Item>
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String HAS_CHILDREN  
      static java.lang.String HAS_EXECUTOR  
      static java.lang.String PRIORITY  
      static java.lang.String STATUS_POS  
      static java.lang.String TYPE  
    • Constructor Summary

      Constructor Description
      ItemComparator​(java.lang.String type, java.lang.String params)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(Item o1, Item o2)  
      • 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
    • Constructor Detail

      • ItemComparator

        public ItemComparator​(java.lang.String type,
                              java.lang.String params)
    • Method Detail

      • compare

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