org.apache.fop.pdf

## Class DestinationComparator

- java.lang.Object
- - org.apache.fop.pdf.DestinationComparator

- All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator

      public class DestinationComparator
      extends java.lang.Object
      implements java.util.Comparator, java.io.Serializable

  Comparator class to enable comparing (and hence sorting) of PDFDestination objects.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DestinationComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(java.lang.Object obj1, java.lang.Object obj2)`

    - ### 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

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

- - ### Constructor Detail

    - #### DestinationComparator

          public DestinationComparator()

  - ### Method Detail

    - #### compare

          public int compare(java.lang.Object obj1,
                             java.lang.Object obj2)

      Specified by:
        `compare` in interface `java.util.Comparator`

Copyright 1999-2021 The Apache Software Foundation. All Rights Reserved.