org.gcube.data.oai.tmplugin.repository.iterators
Class RecordIterator

java.lang.Object
  extended by org.gcube.data.oai.tmplugin.repository.iterators.RecordIterator
All Implemented Interfaces:
Iterator<org.gcube.common.OAIRecord>, org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>
Direct Known Subclasses:
RepositoryIterator, SetIterator

public abstract class RecordIterator
extends Object
implements org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>

Author:
Fabio Simeoni

Constructor Summary
RecordIterator()
           
 
Method Summary
 void close()
          
 URI locator()
           
 org.gcube.common.OAIRecord next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.streams.Stream
hasNext, isClosed
 

Constructor Detail

RecordIterator

public RecordIterator()
Method Detail

next

public org.gcube.common.OAIRecord next()
Specified by:
next in interface Iterator<org.gcube.common.OAIRecord>
Specified by:
next in interface org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>

locator

public URI locator()
Specified by:
locator in interface org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>

close

public void close()

Specified by:
close in interface org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>

remove

public void remove()
Specified by:
remove in interface Iterator<org.gcube.common.OAIRecord>


Copyright © 2013. All Rights Reserved.