public class SimpleInstanceCache extends Object implements InstanceCache
| Constructor and Description |
|---|
SimpleInstanceCache() |
| Modifier and Type | Method and Description |
|---|---|
<IN,OUT> OUT |
get(IN in) |
void |
pop()
Called when exiting a generated mapping method, count down the mappingMethodRank.
|
void |
push()
Put an instance of IN in the cache as key for the OUT instance to be mapped.
|
<IN,OUT> void |
put(IN in,
OUT out)
Put an instance of IN in the cache as key for the OUT instance to be mapped.
|
public <IN,OUT> OUT get(IN in)
get in interface InstanceCachepublic <IN,OUT> void put(IN in,
OUT out)
put in interface InstanceCachepublic void push()
push in interface InstanceCachepublic void pop()
pop in interface InstanceCacheCopyright © 2016. All Rights Reserved.