org.opennms.netmgt.config
Class SpecificComparator
java.lang.Object
org.opennms.netmgt.config.SpecificComparator
- All Implemented Interfaces:
- Comparator<String>
public class SpecificComparator
- extends Object
- implements Comparator<String>
This class is used to compare Specific object from the config SNMP package.
- Author:
- David Hustace
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecificComparator
public SpecificComparator()
compare
public int compare(String spec1,
String spec2)
- returns the difference of spec1 - spec2
- Specified by:
compare in interface Comparator<String>
Copyright © 2009. All Rights Reserved.