@NoOffset public static class DeviceBootloader.Version extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Version(BytePointer v)
Construct Version from string
|
Version(int major,
int minor,
int patch)
Construct Version major, minor and patch numbers
|
Version(Pointer p)
Pointer cast constructor.
|
Version(String v) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(DeviceBootloader.Version other) |
boolean |
greaterThan(DeviceBootloader.Version rhs) |
boolean |
greaterThanEquals(DeviceBootloader.Version rhs) |
boolean |
lessThan(DeviceBootloader.Version other) |
boolean |
lessThanEquals(DeviceBootloader.Version rhs) |
boolean |
notEquals(DeviceBootloader.Version rhs) |
String |
toString()
Convert Version to string
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Version(Pointer p)
Pointer(Pointer).public Version(@StdString BytePointer v)
public Version(@StdString String v)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef DeviceBootloader.Version other)
@Cast(value="bool") @Name(value="operator <") public boolean lessThan(@Const @ByRef DeviceBootloader.Version other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef DeviceBootloader.Version rhs)
@Cast(value="bool") @Name(value="operator >") public boolean greaterThan(@Const @ByRef DeviceBootloader.Version rhs)
@Cast(value="bool") @Name(value="operator <=") public boolean lessThanEquals(@Const @ByRef DeviceBootloader.Version rhs)
@Cast(value="bool") @Name(value="operator >=") public boolean greaterThanEquals(@Const @ByRef DeviceBootloader.Version rhs)
@StdString public String toString()
Copyright © 2021. All rights reserved.