Class PropertyComparator

java.lang.Object
org.spdx.jacksonstore.PropertyComparator
All Implemented Interfaces:
Comparator<String>

public class PropertyComparator extends Object implements 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 Details

    • PropertyComparator

      public PropertyComparator(String type)
  • Method Details