public class THC
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
THC.DeriveValue<T>
Allow the client to provide a derrived value
|
| Constructor and Description |
|---|
THC() |
| Modifier and Type | Method and Description |
|---|---|
<Interface> |
as(java.lang.Class<Interface> type) |
<T> T |
get(java.lang.Class<T> key) |
<T> void |
put(java.lang.Class<T> key, T value) |
<T> void |
put(java.lang.Class<T> key, THC.DeriveValue<T> value)
Place a value in the structure that has yet to be derrived.
|
public <T> void put(java.lang.Class<T> key,
THC.DeriveValue<T> value)
key -value - The value to be thought of in the future
public <T> void put(java.lang.Class<T> key,
T value)
public <T> T get(java.lang.Class<T> key)
public <Interface> Interface as(java.lang.Class<Interface> type)
type - The type of the interface, all methods must have non parameters and non void return types