T
- vector type.public class ElementAddressableVectorIterator<T extends ElementAddressableVector> extends Object implements Iterator<ArrowBufPointer>
ElementAddressableVector
.Constructor and Description |
---|
ElementAddressableVectorIterator(T vector)
Constructs an iterator for the
ElementAddressableVector . |
ElementAddressableVectorIterator(T vector,
ArrowBufHasher hasher)
Constructs an iterator for the
ElementAddressableVector . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
ArrowBufPointer |
next()
Retrieves the next pointer from the vector.
|
void |
next(ArrowBufPointer outPointer)
Retrieves the next pointer from the vector.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public ElementAddressableVectorIterator(T vector)
ElementAddressableVector
.vector
- the vector to iterate.public ElementAddressableVectorIterator(T vector, ArrowBufHasher hasher)
ElementAddressableVector
.vector
- the vector to iterate.hasher
- the hasher to calculate the hash code.public boolean hasNext()
hasNext
in interface Iterator<ArrowBufPointer>
public ArrowBufPointer next()
next
in interface Iterator<ArrowBufPointer>
public void next(ArrowBufPointer outPointer)
outPointer
- the pointer to populate.Copyright © 2024 The Apache Software Foundation. All rights reserved.