com.hp.hpl.jena.sparql.core
Class PathBlock
java.lang.Object
com.hp.hpl.jena.sparql.core.PathBlock
- All Implemented Interfaces:
- Iterable<TriplePath>
public class PathBlock
- extends Object
- implements Iterable<TriplePath>
A class whose purpose is to give a name to a collection of triple paths.
PathBlock
public PathBlock()
PathBlock
public PathBlock(PathBlock other)
add
public void add(TriplePath tp)
addAll
public void addAll(PathBlock other)
add
public void add(int i,
TriplePath tp)
get
public TriplePath get(int i)
iterator
public ListIterator<TriplePath> iterator()
- Specified by:
iterator
in interface Iterable<TriplePath>
size
public int size()
isEmpty
public boolean isEmpty()
getList
public List<TriplePath> getList()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
equiv
public boolean equiv(PathBlock other,
NodeIsomorphismMap isoMap)
toString
public String toString()
- Overrides:
toString
in class Object
Licenced under the Apache License, Version 2.0