T - The type of object that the namer can namejava.util.Comparator<T>public static class Namer.Comparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
| Constructor | Description |
|---|---|
Comparator(Namer<? super T> namer) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(T o1,
T o2) |
|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
public boolean equals(java.lang.Object obj)
equals in interface java.util.Comparator<T>equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object