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

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


Constructor Summary
PathBlock()
           
PathBlock(PathBlock other)
           
 
Method Summary
 void add(int i, TriplePath tp)
           
 void add(TriplePath tp)
           
 void addAll(PathBlock other)
           
 boolean equals(Object other)
           
 boolean equiv(PathBlock other, NodeIsomorphismMap isoMap)
           
 TriplePath get(int i)
           
 List<TriplePath> getList()
           
 int hashCode()
           
 boolean isEmpty()
           
 ListIterator<TriplePath> iterator()
           
 int size()
           
 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 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