DefaultDbRowOpSorter.DbRowComparator (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access.flush.operation, class: DefaultDbRowOpSorter, class: DbRowComparator

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

Since:
  4.2

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `DbRowComparator(EntitySorter entitySorter)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compare(DbRowOp left, DbRowOp right)`

  ### Methods inherited from class Object

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

  ### Methods inherited from interface Comparator

  `equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- ## Constructor Details

  - ### DbRowComparator

    protected DbRowComparator(EntitySorter entitySorter)

- ## Method Details

  - ### compare

    public int compare(DbRowOp left, DbRowOp right)
    Specified by:
      `compare` in interface `Comparator<DbRowOp>`