public static class TopK.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TopK.Attrs |
getPointer(long i) |
TopK.Attrs |
position(long position) |
boolean |
sorted_() |
TopK.Attrs |
sorted_(boolean setter) |
TopK.Attrs |
Sorted(boolean x)
If true the resulting
k elements will be sorted by the values in
descending order. |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public TopK.Attrs position(long position)
public TopK.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public TopK.Attrs Sorted(@Cast(value="bool") boolean x)
k
elements will be sorted by the values in
descending order.
Defaults to truepublic TopK.Attrs sorted_(boolean setter)
Copyright © 2022. All rights reserved.