|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface MapWithScope.Allocator<A,B,S>
Allocate a B, given some A. Only called once per instance of B if the ScopePolicy map is non-null.
| Method Summary | |
|---|---|
B |
alloc(S scope,
A item)
Allocate - return the same B for a given A. |
B |
create()
Create a fresh, unique (to within policy) B |
void |
reset()
|
| Method Detail |
|---|
B alloc(S scope,
A item)
B create()
void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||