Package org.spdx.jacksonstore
Class PropertyComparator
java.lang.Object
org.spdx.jacksonstore.PropertyComparator
- All Implemented Interfaces:
Comparator<String>
Comparator for property names for different SPDX class types
To change the order of properties, change the order in the arrays for the specific type If a property or type isn't in the propertyOrderMap, the alphaNumeric comparison of property names will be used
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PropertyComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<String>
-