|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamedInstance
| Method Summary | |
|---|---|
int |
compareContexts(NamedInstance namedInstance)
Compares the context of this instance to the context of another instance using the context comparator of this
instance. |
int |
compareTo(NamedInstance namedInstance)
Compares this instance to another instance using the comparator of this instance. |
String |
getContext()
The context in which this instance is named. |
Comparator<String> |
getContextComparator()
|
String |
getName()
Implementing classes should return a name that will be comparable within some context |
Comparator<NamedInstance> |
getNamedInstanceComparator()
|
| Method Detail |
|---|
String getName()
String getContext()
compareTo(NamedInstance) returns the same (non-zero)
value that is the result of comparing the contexts.
int compareContexts(NamedInstance namedInstance)
context comparator of this
instance.
Comparator<String> getContextComparator()
int compareTo(NamedInstance namedInstance)
comparator of this instance.
compareTo in interface Comparable<NamedInstance>Comparator<NamedInstance> getNamedInstanceComparator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||