Class OrderingFactory


  • public class OrderingFactory
    extends java.lang.Object
    Factory class for accessing predefined ordering schemes.
    • Field Detail

      • SIZE

        public static final Ordering SIZE
        Order nodes according to their size (from largest to smallest).
      • ORIGINAL

        public static final Ordering ORIGINAL
        Keep the original ordering of the nodes.
      • COLOR

        public static final Ordering COLOR
      • HEIGHT

        public static final Ordering HEIGHT
    • Method Detail

      • add

        public void add​(Ordering entry)
      • getDefault

        public Ordering getDefault()
      • getOrderings

        public java.util.List<Ordering> getOrderings()
      • get

        public Ordering get​(java.lang.String name)