Package com.iizigo.prop
Class PatternManager.CategoryPatterns
java.lang.Object
com.iizigo.prop.PatternManager.CategoryPatterns
- All Implemented Interfaces:
Comparator<PatternManager.CategoryPatterns>
- Enclosing class:
- PatternManager
public static class PatternManager.CategoryPatterns extends Object implements Comparator<PatternManager.CategoryPatterns>
Class for the value type category containing the patterns.
Field Summary
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionint
Compares two categories for sorting.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
Field Details
category
The value type category.patterns
The list of patterns. Each pattern in the list is [0]=pattern, [1]=description.
Constructor Details
CategoryPatterns
Constructor.
Method Details
compare
Compares two categories for sorting.- Specified by:
compare
in interfaceComparator<PatternManager.CategoryPatterns>