org.opennms.netmgt.config
Class SpecificComparator

java.lang.Object
  extended by org.opennms.netmgt.config.SpecificComparator
All Implemented Interfaces:
Comparator

public class SpecificComparator
extends Object
implements Comparator

This class is used to compare Specific object from the config SNMP package.

Author:
David Hustace

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

Specified by:
compare in interface Comparator


Copyright ? 2007. All Rights Reserved.