public interface IDBlock
numIds()
return how many ids are in this block and getId(long)
retrieves
the id at the given position, where the position must be smaller than the number of ids in this block (similar to array access).
Any IDBlock implementation must be completely thread-safe.
Modifier and Type | Method and Description |
---|---|
long |
getId(long index)
Returns the id at the given index.
|
long |
numIds()
Number of ids in this block.
|
long numIds()
long getId(long index)
numIds()
.index
- Copyright © 2012–2024. All rights reserved.