public class TempNodeCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TempNodeCache.NodePair
Inner class used to hold and hash a node pair.
|
Constructor and Description |
---|
TempNodeCache(InfGraph infgraph)
Cosntructor.
|
Modifier and Type | Method and Description |
---|---|
Node |
getTemp(Node instance,
Node prop,
Node pclass)
Retrieve or create a bNode representing an inferred property value.
|
public TempNodeCache(InfGraph infgraph)
infgraph
- Parent inference graph, used to be needed for synchronization, don't think
we need it any morepublic Node getTemp(Node instance, Node prop, Node pclass)
instance
- the base instance node to which the property appliesprop
- the property node whose value is being inferredpclass
- the (optional, can be null) class for the inferred value.Licenced under the Apache License, Version 2.0