E - The enumeration used to wrap the resourceP - The params object that store primitive resources valuesR - The resource managedpublic interface ResourceBuilder<E,P,R>
| Modifier and Type | Method and Description |
|---|---|
R |
get(E key)
Retrieve the resource.
|
P |
getParam(E key)
Retrieve a parameter value from its key.
|
String |
getParamKey(E key)
Retrieve the parameter key.
|
void |
set(String key,
R resource)
Store a new resource.
|
void |
storeParams(E key,
P params)
Store a parameter.
|
void storeParams(E key, P params)
key - the parameter keyparams - the parameter valueP getParam(E key)
key - the parameter keyString getParamKey(E key)
key - the parameter keyR get(E key)
key - the enum as a keyvoid set(String key, R resource)
key - the serialized ResourceParams usedresource - the resource to weakly storeCopyright © 2011–2014 JRebirth OSS. All rights reserved.