protected static class CompoundVecBuffer.EmptyCompoundVecBuffer extends CompoundVecBuffer
CompoundVecBuffer.CompoundIterator<T>, CompoundVecBuffer.CoordIterable, CompoundVecBuffer.EmptyCompoundVecBuffer, CompoundVecBuffer.LocationIterable, CompoundVecBuffer.PositionIterable, CompoundVecBuffer.ReverseCompoundIterator<T>, CompoundVecBuffer.SubBufferIterable<T>, CompoundVecBuffer.VectorIterable
Modifier and Type | Field and Description |
---|---|
protected int |
coordsPerVec |
ALLOCATE_DIRECT_BUFFERS, capacity, count, DEFAULT_INITIAL_CAPACITY, lengths, offsets
Modifier | Constructor and Description |
---|---|
protected |
EmptyCompoundVecBuffer(CompoundVecBuffer.EmptyCompoundVecBuffer that,
int[] indices,
int offset,
int length) |
protected |
EmptyCompoundVecBuffer(CompoundVecBuffer.EmptyCompoundVecBuffer that,
int beginIndex,
int endIndex) |
|
EmptyCompoundVecBuffer(int coordsPerVec) |
Modifier and Type | Method and Description |
---|---|
protected CompoundVecBuffer |
createSlice(int[] indices,
int offset,
int length) |
protected CompoundVecBuffer |
createSlice(int beginIndex,
int endIndex) |
protected VecBuffer |
createSubBuffer(int offset,
int length) |
int |
getCoordsPerVec()
Returns the number of coordinates per logical vector element.
|
int |
subBufferSize(int index)
Returns the size in logical vectors of the VecBuffer with the specified index.
|
addSubBuffer, clear, emptyCompoundVecBuffer, expandCapacity, getCoords, getCoords, getLocations, getPositions, getReverseCoords, getReverseLocations, getReversePositions, getReverseVectors, getVectors, size, slice, slice, slice, subBuffer
protected EmptyCompoundVecBuffer(CompoundVecBuffer.EmptyCompoundVecBuffer that, int[] indices, int offset, int length)
protected EmptyCompoundVecBuffer(CompoundVecBuffer.EmptyCompoundVecBuffer that, int beginIndex, int endIndex)
public EmptyCompoundVecBuffer(int coordsPerVec)
protected CompoundVecBuffer createSlice(int[] indices, int offset, int length)
createSlice
in class CompoundVecBuffer
protected CompoundVecBuffer createSlice(int beginIndex, int endIndex)
createSlice
in class CompoundVecBuffer
protected VecBuffer createSubBuffer(int offset, int length)
createSubBuffer
in class CompoundVecBuffer
public int getCoordsPerVec()
CompoundVecBuffer
getCoordsPerVec
in class CompoundVecBuffer
public int subBufferSize(int index)
CompoundVecBuffer
subBufferSize
in class CompoundVecBuffer
index
- the index for the VecBuffer who's size is returned.