@Namespace(value="arrow::internal") @Properties(inherit=arrow.class) public class BitsetStack extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BitsetStack()
Default native constructor.
|
BitsetStack(long size)
Native array allocator.
|
BitsetStack(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BoolPointer |
get(int i)
\brief get a mutable reference to a bit in the top bitset
|
void |
Pop()
\brief pop a bitset off the stack
|
BitsetStack |
position(long position) |
void |
Push(int size,
boolean value)
\brief push a bitset onto the stack
|
int |
TopSize()
\brief number of bits in the bitset at the top of the stack
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic BitsetStack()
public BitsetStack(long size)
Pointer.position(long).public BitsetStack(Pointer p)
Pointer.Pointer(Pointer).public BitsetStack position(long position)
public void Push(int size,
@Cast(value="bool")
boolean value)
size - number of bits in the next bitsetvalue - initial value for bits in the pushed bitsetpublic int TopSize()
public void Pop()
@ByVal @Name(value="operator []") public BoolPointer get(int i)
i - index of the bit to accessCopyright © 2020. All rights reserved.