Class EntityTypeComparatorForModifications
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.entitymanager.operation.comparator.EntityTypeComparatorForModifications
-
- All Implemented Interfaces:
Comparator<Class<?>>
- Direct Known Subclasses:
EntityTypeComparatorForInserts
public class EntityTypeComparatorForModifications extends Object implements Comparator<Class<?>>
Compares operations by Entity type.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static Map<Class<?>,Integer>
TYPE_ORDER
-
Constructor Summary
Constructors Constructor Description EntityTypeComparatorForModifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Class<?> firstEntityType, Class<?> secondEntityType)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Class<?> firstEntityType, Class<?> secondEntityType)
- Specified by:
compare
in interfaceComparator<Class<?>>
-
-