Package net.sf.basedb.core
Class RawDataTypes.NameComparator
java.lang.Object
net.sf.basedb.core.RawDataTypes.NameComparator
- All Implemented Interfaces:
Comparator<RawDataType>
- Enclosing class:
- RawDataTypes
Comparator implementation that sorts raw data types
according to their name. Use this with a TreeSet if you need
raw data types returned from
RawDataTypes.getRawDataTypes()
to be in the same order as before 2.16.2.- Since:
- 2.16.2
- Author:
- Nicklas
- Last modified
- $Date: 2017-05-22 14:35:27 +0200 (må, 22 maj 2017) $
-
Constructor Summary
Constructors -
Method Summary
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
-
NameComparator
public NameComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<RawDataType>
-