Package com.gigaspaces.datasource
Class DataIteratorAdapter<T>
java.lang.Object
com.gigaspaces.datasource.DataIteratorAdapter<T>
- All Implemented Interfaces:
DataIterator<T>,Iterator<T>
A simple adapter from
Iterator to DataIterator- Since:
- 9.1.1
- Author:
- Dan Kilman
-
Constructor Details
-
DataIteratorAdapter
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()Description copied from interface:DataIteratorClean up after any resources associated with this iterator The iterator can be closed even if the iterator wasn't iterated over all of its elements.- Specified by:
closein interfaceDataIterator<T>
-