T - The type of object that the namer can namepublic interface Namer<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Namer.Comparator<T>
A comparator implementation based on the names returned by the given namer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
determineName(T object)
Determines the name of the given object.
|
String determineName(T object)
object - The object to determine the name ofRuntimeException - If the name cannot be determined or is null