T
- the type of associated key
public interface Associated<T>
getAssociatedKey()
method.Associator
Modifier and Type | Method and Description |
---|---|
T |
getAssociatedKey()
Determine the host key (or base) object to which this object is associated.
|
T getAssociatedKey()
Note: It's expected that the returned object is suitable to be used as an immutable identity (e.g. a key in a Map).
Note 2: Circular associations are not permitted.