|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.graph.query.NamedGraphMap
public class NamedGraphMap
a mapping from from names to Graphs.
Method Summary | |
---|---|
Graph |
get(String name)
Answer the GRaph with the given name, or null if there isn't one. |
NamedGraphMap |
put(String name,
Graph g)
Add a named graph to the map and return this map. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public NamedGraphMap put(String name, Graph g)
name
- the name to give this graph. Must not already be bound.g
- the graph to name
public Graph get(String name)
name
- the name of the graph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |