public class MapWithScope<A,B,S> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MapWithScope.Allocator<A,B,S>
Allocate a B, given some A.
|
static interface |
MapWithScope.ScopePolicy<A,B,S> |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear scope and allocation
|
B |
create()
Create a label that is guaranteed to be fresh
|
B |
get(S scope,
A item)
Get a B object for an A object in scope S object
|
Licenced under the Apache License, Version 2.0