com.hp.hpl.jena.sparql.core
Class PathBlock
java.lang.Object
com.hp.hpl.jena.sparql.core.PathBlock
- All Implemented Interfaces:
- java.lang.Iterable<TriplePath>
public class PathBlock
- extends java.lang.Object
- implements java.lang.Iterable<TriplePath>
A class whose purpose is to give a name to a collection of triple paths.
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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 java.util.ListIterator<TriplePath> iterator()
- Specified by:
iterator in interface java.lang.Iterable<TriplePath>
size
public int size()
isEmpty
public boolean isEmpty()
getList
public java.util.List<TriplePath> getList()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
equiv
public boolean equiv(PathBlock other,
NodeIsomorphismMap isoMap)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.