Package 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
  Description
  `protected`
  `DbRowComparator(EntitySorter entitySorter)`

- ## Method Summary

  Modifier and Type
  Method
  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

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