public static class MutableHashTable.HashBucketIterator<BT,PT> extends Object implements MutableObjectIterator<BT>
Modifier and Type | Method and Description |
---|---|
BT |
next()
Gets the next element from the collection.
|
BT |
next(BT reuse)
Gets the next element from the collection.
|
void |
reset() |
void |
writeBack(BT value) |
public BT next(BT reuse)
MutableObjectIterator
next
in interface MutableObjectIterator<BT>
reuse
- The target object into which to place next element if E is mutable.null
if the iterator is exhausted.public BT next()
MutableObjectIterator
next
in interface MutableObjectIterator<BT>
null
if the iterator is exhausted.public void writeBack(BT value) throws IOException
IOException
public void reset()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.