org.gcube.portlets.user.speciesdiscovery.server.stream
Class IteratorWrapper<E>
java.lang.Object
org.gcube.portlets.user.speciesdiscovery.server.stream.IteratorWrapper<E>
- All Implemented Interfaces:
- Closeable, Iterator<E>, CloseableIterator<E>
public class IteratorWrapper<E>
- extends Object
- implements CloseableIterator<E>
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
protected Iterator<E> iterator
IteratorWrapper
public IteratorWrapper(Iterator<E> iterator)
- Parameters:
iterator
-
hasNext
public boolean hasNext()
-
- Specified by:
hasNext
in interface Iterator<E>
next
public E next()
-
- Specified by:
next
in interface Iterator<E>
remove
public void remove()
-
- Specified by:
remove
in interface Iterator<E>
close
public void close()
-
- Specified by:
close
in interface Closeable
Copyright © 2013. All Rights Reserved.