Package org.apache.jena.riot.system
Class MapWithScope<A,B,S>
- java.lang.Object
-
- org.apache.jena.riot.system.MapWithScope<A,B,S>
-
- Direct Known Subclasses:
LabelToNode,NodeToLabel
public class MapWithScope<A,B,S> extends java.lang.ObjectMaps A's to B's, based on a scope S
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMapWithScope.Allocator<A,B,S>Allocate a B, given some A.static interfaceMapWithScope.ScopePolicy<A,B,S>
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Clear scope and allocationBcreate()Create a label that is guaranteed to be freshBget(S scope, A item)Get a B object for an A object in scope S object
-