Package org.opennms.netmgt.dao.support
Class RrdResourceAttributeUtils.AlphaNumericOnmsAttributeComparator
- java.lang.Object
-
- org.opennms.netmgt.dao.support.RrdResourceAttributeUtils.AlphaNumericOnmsAttributeComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<OnmsAttribute>
- Enclosing class:
- RrdResourceAttributeUtils
public static class RrdResourceAttributeUtils.AlphaNumericOnmsAttributeComparator extends Object implements Serializable, Comparator<OnmsAttribute>
Alphanumeric sort that handles substrings with numeric components- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlphaNumericOnmsAttributeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(OnmsAttribute firstAtt, OnmsAttribute secondAtt)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(OnmsAttribute firstAtt, OnmsAttribute secondAtt)
- Specified by:
compare
in interfaceComparator<OnmsAttribute>
-
-