org.apache.cayenne.access.flush.operation

## Class DefaultDbRowOpSorter.DbRowComparator

- java.lang.Object
- - org.apache.cayenne.access.flush.operation.DefaultDbRowOpSorter.DbRowComparator

- All Implemented Interfaces:
    Comparator<DbRowOp>
  Enclosing class:
    DefaultDbRowOpSorter

      protected static class DefaultDbRowOpSorter.DbRowComparator
      extends Object
      implements Comparator<DbRowOp>

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `DbRowComparator(EntitySorter entitySorter)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(DbRowOp left, DbRowOp right)`

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

    - #### DbRowComparator

          protected DbRowComparator(EntitySorter entitySorter)

  - ### Method Detail

    - #### compare

          public int compare(DbRowOp left,
                             DbRowOp right)

      Specified by:
        `compare` in interface `Comparator<DbRowOp>`

Copyright © 2001–2021 Apache Cayenne. All rights reserved.