slib.tools.smltoolkit.sm.cli.utils
Class QueryConceptsIterator

java.lang.Object
  extended by slib.tools.smltoolkit.sm.cli.utils.QueryConceptsIterator
All Implemented Interfaces:
slib.utils.impl.QueryIterator

public class QueryConceptsIterator
extends Object
implements slib.utils.impl.QueryIterator

Utility used to iterate along the pairs of concepts which can be build according to the set of concepts (CLASS) composing the graph. Considered as Symmetric

Author:
Harispe Sébastien

Constructor Summary
QueryConceptsIterator(Set<org.openrdf.model.URI> classes)
           
 
Method Summary
 void close()
           
 long getNumberQueries()
           
 boolean hasNext()
           
 slib.utils.impl.QueryEntry next()
           
 List<slib.utils.impl.QueryEntry> nextValids(int nbValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryConceptsIterator

public QueryConceptsIterator(Set<org.openrdf.model.URI> classes)
Method Detail

next

public slib.utils.impl.QueryEntry next()
Specified by:
next in interface slib.utils.impl.QueryIterator

nextValids

public List<slib.utils.impl.QueryEntry> nextValids(int nbValues)
                                            throws Exception
Specified by:
nextValids in interface slib.utils.impl.QueryIterator
Throws:
Exception

hasNext

public boolean hasNext()
Specified by:
hasNext in interface slib.utils.impl.QueryIterator

getNumberQueries

public long getNumberQueries()
                      throws Exception
Specified by:
getNumberQueries in interface slib.utils.impl.QueryIterator
Throws:
Exception

close

public void close()
           throws Exception
Specified by:
close in interface slib.utils.impl.QueryIterator
Throws:
Exception


Copyright © 2013. All Rights Reserved.