Class PurposeCategoryComparator
-
- All Implemented Interfaces:
-
java.util.Comparator
public final class PurposeCategoryComparator implements Comparator<InternalPurpose>
Comparator class used to categorize/order purposes by category.
-
-
Constructor Summary
Constructors Constructor Description PurposeCategoryComparator(List<PurposeCategory> categories)
-
Method Summary
Modifier and Type Method Description Integercompare(InternalPurpose purpose1, InternalPurpose purpose2)-
-
Constructor Detail
-
PurposeCategoryComparator
PurposeCategoryComparator(List<PurposeCategory> categories)
-
-
Method Detail
-
compare
Integer compare(InternalPurpose purpose1, InternalPurpose purpose2)
-
-
-
-