org.jrdf.graph.mem.iterator
Interface ClosableMemIterator<Triple>

All Superinterfaces:
ClosableIterator<Triple>, Iterator<Triple>
All Known Implementing Classes:
EmptyClosableIterator, GraphIterator, OneFixedIterator, ThreeFixedIterator, TripleClosableIterator, TwoFixedIterator

public interface ClosableMemIterator<Triple>
extends ClosableIterator<Triple>

An iterator that allows you to determine if an iterator comes from the in memory graph.

Version:
$Revision: 1045 $
Author:
Andrew Newman

Method Summary
 boolean containsHandler(GraphHandler012 handler012, GraphHandler201 handler201, GraphHandler120 handler120)
          Return true if this iterator contains any of the handlers.
 
Methods inherited from interface org.jrdf.util.ClosableIterator
close
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

containsHandler

boolean containsHandler(GraphHandler012 handler012,
                        GraphHandler201 handler201,
                        GraphHandler120 handler120)
Return true if this iterator contains any of the handlers.

Parameters:
handler012 - the 012 handler
handler201 - the 201 handler
handler120 - the 120 handler
Returns:
true if this iterator contains any of the given handlers.