public class ElementPathBlock extends Element implements TripleCollectorMark
Constructor and Description |
---|
ElementPathBlock() |
ElementPathBlock(BasicPattern bgp) |
Modifier and Type | Method and Description |
---|---|
void |
addTriple(int index,
Triple t) |
void |
addTriple(Triple t) |
void |
addTriple(TriplePath tp) |
void |
addTriplePath(int index,
TriplePath tPath) |
void |
addTriplePath(TriplePath tPath) |
boolean |
equalTo(Element el2,
NodeIsomorphismMap isoMap) |
PathBlock |
getPattern() |
int |
hashCode() |
boolean |
isEmpty() |
int |
mark() |
Iterator<TriplePath> |
patternElts() |
void |
visit(ElementVisitor v) |
public ElementPathBlock()
public ElementPathBlock(BasicPattern bgp)
public boolean isEmpty()
public void addTriple(TriplePath tp)
public int mark()
mark
in interface TripleCollectorMark
public void addTriple(Triple t)
addTriple
in interface TripleCollector
public void addTriple(int index, Triple t)
addTriple
in interface TripleCollectorMark
public void addTriplePath(TriplePath tPath)
addTriplePath
in interface TripleCollector
public void addTriplePath(int index, TriplePath tPath)
addTriplePath
in interface TripleCollectorMark
public PathBlock getPattern()
public Iterator<TriplePath> patternElts()
public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
public void visit(ElementVisitor v)
Licenced under the Apache License, Version 2.0