T
- The type of object that the namer can namepublic interface Namer<T>
修飾子とタイプ | インタフェースと説明 |
---|---|
static class |
Namer.Comparator<T>
A comparator implementation based on the names returned by the given namer.
|
修飾子とタイプ | メソッドと説明 |
---|---|
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