public class EntryAdapterIterator extends Object implements DataIterator<IEntryPacket>
EntryAdapterIterator provides a wrapper for the DataIterator returned by the
 DataProvider . EntryAdapterIterator converts the data objects returned by the
 iterator to space internal representation.| Modifier and Type | Field and Description | 
|---|---|
protected EntryAdapter | 
_entryAdapter  | 
protected DataIterator<Object> | 
_iterator  | 
| Constructor and Description | 
|---|
EntryAdapterIterator(DataIterator<Object> iterator,
                    EntryAdapter entryAdapter)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Clean 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. 
 | 
boolean | 
hasNext()  | 
IEntryPacket | 
next()  | 
void | 
remove()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected DataIterator<Object> _iterator
protected EntryAdapter _entryAdapter
public EntryAdapterIterator(DataIterator<Object> iterator, EntryAdapter entryAdapter)
iterator - public void close()
DataIteratorclose in interface DataIterator<IEntryPacket>DataIterator.close()public boolean hasNext()
hasNext in interface Iterator<IEntryPacket>Iterator.hasNext()public IEntryPacket next()
next in interface Iterator<IEntryPacket>Iterator.next()public void remove()
remove in interface Iterator<IEntryPacket>Iterator.remove()Copyright © GigaSpaces.