org.gcube.portlets.user.speciesdiscovery.server.stream
Class IteratorPointInfo
java.lang.Object
org.gcube.portlets.user.speciesdiscovery.server.stream.IteratorPointInfo
- All Implemented Interfaces:
- Iterator<org.gcube.data.spd.model.PointInfo>, org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
public class IteratorPointInfo
- extends Object
- implements org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
Field Summary |
protected org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.log4j.Logger logger
IteratorPointInfo
public IteratorPointInfo(Iterator<Occurrence> iterator)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<org.gcube.data.spd.model.PointInfo>
- Specified by:
hasNext
in interface org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
next
public org.gcube.data.spd.model.PointInfo next()
- Specified by:
next
in interface Iterator<org.gcube.data.spd.model.PointInfo>
- Specified by:
next
in interface org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
remove
public void remove()
- Specified by:
remove
in interface Iterator<org.gcube.data.spd.model.PointInfo>
iterator
public Iterator<org.gcube.data.spd.model.PointInfo> iterator()
close
public void close()
- Specified by:
close
in interface org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
locator
public URI locator()
throws IllegalStateException
- Specified by:
locator
in interface org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
- Throws:
IllegalStateException
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface org.gcube.data.streams.Stream<org.gcube.data.spd.model.PointInfo>
Copyright © 2013. All Rights Reserved.