|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the identifier itself.O - The type of objects to be identified.public interface Identifier<T,O>
An object identifier.
This class is an abstract base for identifiers. Some known identifiers are:
| Method Summary | |
|---|---|
T |
getID()
Returns the identifier itself. |
boolean |
matches(O object)
Determines if the id of an object matches the value of the identifier. |
String |
toString()
Returns a string representation of the identifier. |
| Method Detail |
|---|
T getID()
boolean matches(O object)
object - The object to perform the test against.
true if a match, otherwise false.String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||