public static class AsString.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 |
---|---|
BytePointer |
fill_() |
AsString.Attrs |
fill_(BytePointer setter) |
AsString.Attrs |
Fill(BytePointer x)
The value to pad if width > -1.
|
AsString.Attrs |
Fill(String x) |
AsString.Attrs |
getPointer(long i) |
AsString.Attrs |
position(long position) |
long |
precision_() |
AsString.Attrs |
precision_(long setter) |
AsString.Attrs |
Precision(long x)
The post-decimal precision to use for floating point numbers.
|
boolean |
scientific_() |
AsString.Attrs |
scientific_(boolean setter) |
AsString.Attrs |
Scientific(boolean x)
Use scientific notation for floating point numbers.
|
boolean |
shortest_() |
AsString.Attrs |
shortest_(boolean setter) |
AsString.Attrs |
Shortest(boolean x)
Use shortest representation (either scientific or standard) for
floating point numbers.
|
long |
width_() |
AsString.Attrs |
width_(long setter) |
AsString.Attrs |
Width(long x)
Pad pre-decimal numbers to this width.
|
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 AsString.Attrs position(long position)
public AsString.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public AsString.Attrs Precision(@Cast(value="tensorflow::int64") long x)
@ByVal public AsString.Attrs Scientific(@Cast(value="bool") boolean x)
@ByVal public AsString.Attrs Shortest(@Cast(value="bool") boolean x)
@ByVal public AsString.Attrs Width(@Cast(value="tensorflow::int64") long x)
@ByVal public AsString.Attrs Fill(@tensorflow.StringPiece BytePointer x)
@ByVal public AsString.Attrs Fill(@tensorflow.StringPiece String x)
public AsString.Attrs precision_(long setter)
public AsString.Attrs scientific_(boolean setter)
public AsString.Attrs shortest_(boolean setter)
public AsString.Attrs width_(long setter)
@tensorflow.StringPiece public BytePointer fill_()
public AsString.Attrs fill_(BytePointer setter)
Copyright © 2022. All rights reserved.