@Name(value="std::vector<int64_t>") @Properties(inherit=torch.class) public class LongVector extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
LongVector.Iterator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LongVector() |
LongVector(long... array) |
LongVector(long n) |
LongVector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
back() |
LongVector.Iterator |
begin() |
void |
clear() |
boolean |
empty() |
LongVector.Iterator |
end() |
LongVector.Iterator |
erase(LongVector.Iterator pos) |
long |
front() |
long[] |
get() |
long |
get(long i) |
LongVector.Iterator |
insert(LongVector.Iterator pos,
long value) |
long |
pop_back() |
LongVector |
push_back(long value) |
LongVector |
put(long... array) |
LongVector |
put(long value) |
LongVector |
put(long i,
long value) |
LongVector |
put(LongVector x) |
void |
resize(long n) |
long |
size() |
String |
toString() |
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, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public LongVector(Pointer p)
Pointer(Pointer)
.public LongVector(long... array)
public LongVector()
public LongVector(long n)
@Name(value="operator =") @ByRef public LongVector put(@ByRef LongVector x)
public boolean empty()
public long size()
public void clear()
public long front()
public long back()
public LongVector put(@Cast(value="size_t") long i, long value)
@ByVal public LongVector.Iterator insert(@ByVal LongVector.Iterator pos, @Cast(value="int64_t") long value)
@ByVal public LongVector.Iterator erase(@ByVal LongVector.Iterator pos)
@ByVal public LongVector.Iterator begin()
@ByVal public LongVector.Iterator end()
public long[] get()
public long pop_back()
public LongVector push_back(long value)
public LongVector put(long value)
public LongVector put(long... array)
Copyright © 2024. All rights reserved.