@NoOffset @Name(value="c10::optional<torch::jit::Method>") @Properties(inherit=torch.class) public class MethodOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MethodOptional() |
MethodOptional(Method value) |
MethodOptional(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Method |
get() |
boolean |
has_value() |
MethodOptional |
put(Method value) |
MethodOptional |
put(MethodOptional 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 MethodOptional(Pointer p)
Pointer(Pointer)
.public MethodOptional(Method value)
public MethodOptional()
@Name(value="operator =") @ByRef public MethodOptional put(@ByRef MethodOptional x)
public boolean has_value()
public void reset()
@ValueSetter public MethodOptional put(@ByRef Method value)
Copyright © 2024. All rights reserved.