com.hp.hpl.jena.sparql.core
Class PathBlock

java.lang.Object
  extended by 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.


Constructor Summary
PathBlock()
           
PathBlock(PathBlock other)
           
 
Method Summary
 void add(int i, TriplePath tp)
           
 void add(TriplePath tp)
           
 void addAll(PathBlock other)
           
 boolean equals(java.lang.Object other)
           
 boolean equiv(PathBlock other, NodeIsomorphismMap isoMap)
           
 TriplePath get(int i)
           
 java.util.List<TriplePath> getList()
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.ListIterator<TriplePath> iterator()
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathBlock

public PathBlock()

PathBlock

public PathBlock(PathBlock other)
Method Detail

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.