Class ByNameComparator
- java.lang.Object
-
- org.opennms.netmgt.collection.api.ByNameComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<CollectionAttributeType>
public final class ByNameComparator extends Object implements Comparator<CollectionAttributeType>, Serializable
ByNameComparator class.
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByNameComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(CollectionAttributeType type0, CollectionAttributeType type1)
compareboolean
equals(Object o)
int
hashCode()
hashCode-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(CollectionAttributeType type0, CollectionAttributeType type1)
compare
- Specified by:
compare
in interfaceComparator<CollectionAttributeType>
- Parameters:
type0
- aCollectionAttributeType
object.type1
- aCollectionAttributeType
object.- Returns:
- a int.
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceComparator<CollectionAttributeType>
- Overrides:
equals
in classObject
-
-