| Modifier and Type | Field and Description |
|---|---|
| private final Database | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(ChangeGenerator
the first object to be compared. o1, ChangeGenerator the second object to be compared. o2)Implements java. Compares its two arguments for order. |
| database | back to summary |
|---|---|
| private final Database database | |
| objectType | back to summary |
|---|---|
| private final Class<? extends DatabaseObject> objectType | |
| ChangeGeneratorComparator | back to summary |
|---|---|
| public ChangeGeneratorComparator(Class<? extends DatabaseObject> objectType, Database database) | |
| compare | back to summary |
|---|---|
| public int compare(ChangeGenerator o1, ChangeGenerator o2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |