R
- the class type of the registered keypublic class ClassKey<R> extends Object implements UniqueKey<R>
Constructor and Description |
---|
ClassKey(Class<R> classField,
Object... optionalData)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<R> |
classField()
Return the class type of the component.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
key()
Return the unique key.
|
List<Object> |
optionalData()
Return the list of optional data associated to the key.
|
String |
toString() |
Object |
value()
Return the unique object if any or null.
|
public Class<R> classField()
UniqueKey
classField
in interface UniqueKey<R>
public List<Object> optionalData()
optionalData
in interface UniqueKey<R>
Copyright © 2011–2016 JRebirth OSS. All rights reserved.