Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<? extends Triple> |
Graph.getTriples()
Get all triples contained by the graph.
The behaviour of the Stream is not specified if add, remove, or clear, are called on the Stream before it terminates. Implementations may throw ConcurrentModificationException from Stream methods if they detect a conflict while the Stream is active. |
java.util.stream.Stream<? extends Triple> |
Graph.getTriples(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get all triples contained by the graph matched with the pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
Graph.add(Triple triple)
Add a triple to the graph.
|
boolean |
Graph.contains(Triple triple)
Check if graph contains triple.
|
void |
Graph.remove(Triple triple)
Remove a concrete triple from the graph.
|
Copyright © 2014. All rights reserved.