Class UnspecifiedSequencer

  • All Implemented Interfaces:
    Sequencer, java.util.Comparator<ShapeElement>

    @OpenApiAll
    public class UnspecifiedSequencer
    extends java.lang.Object
    implements Sequencer
    An empty sequencer. It does not say anything for the layouter, so the layouter will determine the ordering by path crossing etc.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(ShapeElement o1, ShapeElement o2)
      Compares objects.
      java.lang.String getName()
      The name of the sequencer
      • 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
    • Field Detail

      • NAME

        public static final java.lang.String NAME
    • Constructor Detail

      • UnspecifiedSequencer

        public UnspecifiedSequencer()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Sequencer
        The name of the sequencer
        Specified by:
        getName in interface Sequencer
        Returns:
        sequencer name
      • compare

        public int compare​(ShapeElement o1,
                           ShapeElement o2)
        Compares objects.
        Specified by:
        compare in interface java.util.Comparator<ShapeElement>
        Specified by:
        compare in interface Sequencer
        Parameters:
        o1 - first object
        o2 - second object
        Returns:
        compare value