org.opennms.netmgt.config
Class SpecificComparator

java.lang.Object
  extended by 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

Constructor Summary
SpecificComparator()
           
 
Method Summary
 int compare(String spec1, String spec2)
          returns the difference of spec1 - spec2
 
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
 

Constructor Detail

SpecificComparator

public SpecificComparator()
Method Detail

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.