org.opennms.netmgt.collectd
Class ByNameComparator

java.lang.Object
  extended by org.opennms.netmgt.collectd.ByNameComparator
All Implemented Interfaces:
Serializable, Comparator<AttributeDefinition>

public final class ByNameComparator
extends Object
implements Comparator<AttributeDefinition>, Serializable

ByNameComparator class.

Version:
$Id: $
Author:
ranger
See Also:
Serialized Form

Constructor Summary
ByNameComparator()
           
 
Method Summary
 int compare(AttributeDefinition type0, AttributeDefinition type1)
          compare
 boolean equals(Object o)
          
 int hashCode()
          hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByNameComparator

public ByNameComparator()
Method Detail

compare

public int compare(AttributeDefinition type0,
                   AttributeDefinition type1)

compare

Specified by:
compare in interface Comparator<AttributeDefinition>
Parameters:
type0 - a AttributeDefinition object.
type1 - a AttributeDefinition object.
Returns:
a int.

equals

public boolean equals(Object o)

Specified by:
equals in interface Comparator<AttributeDefinition>
Overrides:
equals in class Object

hashCode

public int hashCode()

hashCode

Overrides:
hashCode in class Object
Returns:
a int.


Copyright © 2011. All Rights Reserved.