Class ImportStateComparator
java.lang.Object
io.deephaven.enterprise.ingester.impl.ImportStateComparator
- All Implemented Interfaces:
- Comparator<ImportStateDetails>
For the CompositeImportState we need to have a well-defined order. We first sort by class (using the canonical name
 as a key), then by the key columns. If there is still an ambiguity, we sort by the Constructor arguments, which we
 assume must be comparable to disambiguate.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintstatic intMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparatorequals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
- 
Constructor Details- 
ImportStateComparatorpublic ImportStateComparator()
 
- 
- 
Method Details- 
compare- Specified by:
- comparein interface- Comparator<ImportStateDetails>
 
- 
doCompare
 
-