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