@NoOffset @Name(value="c10::optional<int>") @Properties(inherit=torch.class) public class IntOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IntOptional() |
IntOptional(int value) |
IntOptional(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
get() |
boolean |
has_value() |
IntOptional |
put(int value) |
IntOptional |
put(IntOptional x) |
void |
reset() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public IntOptional(Pointer p)
Pointer(Pointer)
.public IntOptional(int value)
public IntOptional()
@Name(value="operator =") @ByRef public IntOptional put(@ByRef IntOptional x)
public boolean has_value()
public void reset()
@ValueSetter public IntOptional put(int value)
Copyright © 2024. All rights reserved.