public class DummyStorageIterator<T extends Persistable> extends Object implements IStorageIterator<T>
| Constructor and Description |
|---|
DummyStorageIterator(Hashtable<Integer,T> data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMore()
Return whether the set has more records to iterate through
|
int |
nextID()
Return the ID of the next record in the set.
|
T |
nextRecord()
Return the next record in the set.
|
int |
numRecords()
Number of records in the set
|
int |
peekID()
Return the ID of the next record in the set without advancing the iterator.
|
public boolean hasMore()
IteratorhasMore in interface Iterator<T extends Persistable>public int nextID()
IteratornextID in interface Iterator<T extends Persistable>public T nextRecord()
IteratornextRecord in interface Iterator<T extends Persistable>public int numRecords()
IteratornumRecords in interface Iterator<T extends Persistable>public int peekID()
IteratorpeekID in interface Iterator<T extends Persistable>Copyright © 2021. All rights reserved.