lv.lumii.layoutengine.flowLayout.horizontalOrdering.pqtree

## Class PQTreeLLComparator

- java.lang.Object
- - lv.lumii.layoutengine.flowLayout.horizontalOrdering.pqtree.PQTreeLLComparator

- All Implemented Interfaces:
    java.util.Comparator<PQTree>

      public class PQTreeLLComparator
      extends java.lang.Object
      implements java.util.Comparator<PQTree>

  This class compares two PQTrees by their LL values and considers smaller the one with smaller LL value.
  See Also:
    `PQTree`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PQTreeLLComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(PQTree t1, PQTree t2)` This method returns the result of comparison the given PQTrees.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### PQTreeLLComparator

          public PQTreeLLComparator()

  - ### Method Detail

    - #### compare

          public int compare(PQTree t1,
                             PQTree t2)

      This method returns the result of comparison the given PQTrees.
      Specified by:
        `compare` in interface `java.util.Comparator<PQTree>`
      Parameters:
        `t1` - the first PQTree.
        `t2` - the second PQTree.
      Returns:
        the comparison code.