public class ClassNameComparator extends java.lang.Object implements java.util.Comparator<Pdu>
| Constructor and Description |
|---|
ClassNameComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Pdu object1,
Pdu object2)
Returns a number less than, equal to, or greater than zero,
depending on whether the object is lexically less than, equal to,
or greater than the other object.
|
boolean |
equals(java.lang.Object obj)
Returns true if this comparator is the same class as the comparator passed in.
|
int |
hashCode() |
public int compare(Pdu object1, Pdu object2)
compare in interface java.util.Comparator<Pdu>object1 - object2 - public boolean equals(java.lang.Object obj)
equals in interface java.util.Comparator<Pdu>equals in class java.lang.Objectobj - public int hashCode()
hashCode in class java.lang.Object