public enum UnsignedType extends Enum<UnsignedType>
Primitive| Modifier and Type | Method and Description |
|---|---|
String |
getConvertFunctionName()
Get the name of the function that casts a value of type Object
to the current type.
|
static @Nullable UnsignedType |
of(Type type) |
static BigInteger |
toBigInteger(org.joou.ULong value) |
String |
toJavaTypeName() |
static org.joou.UByte |
toUByte(byte n) |
static org.joou.UByte |
toUByte(double n) |
static org.joou.UByte |
toUByte(float n) |
static org.joou.UByte |
toUByte(int n) |
static org.joou.UByte |
toUByte(long n) |
static @Nullable org.joou.UByte |
toUByte(@Nullable Number n,
RoundingMode mode) |
static @Nullable org.joou.UByte |
toUByte(Object o) |
static org.joou.UByte |
toUByte(short n) |
static @Nullable org.joou.UByte |
toUByte(@Nullable String s,
RoundingMode unused) |
static org.joou.UInteger |
toUInteger(byte n) |
static org.joou.UInteger |
toUInteger(double n) |
static org.joou.UInteger |
toUInteger(float n) |
static org.joou.UInteger |
toUInteger(int n) |
static org.joou.UInteger |
toUInteger(long n) |
static @Nullable org.joou.UInteger |
toUInteger(@Nullable Number n,
RoundingMode mode) |
static @Nullable org.joou.UInteger |
toUInteger(Object o) |
static org.joou.UInteger |
toUInteger(short n) |
static @Nullable org.joou.UInteger |
toUInteger(@Nullable String s,
RoundingMode unused) |
static org.joou.ULong |
toULong(byte n) |
static org.joou.ULong |
toULong(double n) |
static org.joou.ULong |
toULong(float n) |
static org.joou.ULong |
toULong(int n) |
static org.joou.ULong |
toULong(long n) |
static @Nullable org.joou.ULong |
toULong(@Nullable Number n,
RoundingMode mode) |
static @Nullable org.joou.ULong |
toULong(Object o) |
static org.joou.ULong |
toULong(short n) |
static @Nullable org.joou.ULong |
toULong(@Nullable String s,
RoundingMode unused) |
static org.joou.UShort |
toUShort(byte n) |
static org.joou.UShort |
toUShort(double n) |
static org.joou.UShort |
toUShort(float n) |
static org.joou.UShort |
toUShort(int n) |
static org.joou.UShort |
toUShort(long n) |
static @Nullable org.joou.UShort |
toUShort(@Nullable Number n,
RoundingMode mode) |
static @Nullable org.joou.UShort |
toUShort(Object o) |
static org.joou.UShort |
toUShort(short n) |
static @Nullable org.joou.UShort |
toUShort(@Nullable String s,
RoundingMode unused) |
static UnsignedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnsignedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnsignedType UBYTE
public static final UnsignedType USHORT
public static final UnsignedType UINT
public static final UnsignedType ULONG
public static UnsignedType[] values()
for (UnsignedType c : UnsignedType.values()) System.out.println(c);
public static UnsignedType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static @Nullable UnsignedType of(Type type)
public String toJavaTypeName()
public String getConvertFunctionName()
public static BigInteger toBigInteger(org.joou.ULong value)
public static org.joou.UByte toUByte(byte n)
public static org.joou.UByte toUByte(short n)
public static org.joou.UByte toUByte(int n)
public static org.joou.UByte toUByte(long n)
public static org.joou.UByte toUByte(float n)
public static org.joou.UByte toUByte(double n)
public static @Nullable org.joou.UByte toUByte(@Nullable Number n, RoundingMode mode)
public static @Nullable org.joou.UByte toUByte(@Nullable String s, RoundingMode unused)
public static org.joou.UShort toUShort(byte n)
public static org.joou.UShort toUShort(short n)
public static org.joou.UShort toUShort(int n)
public static org.joou.UShort toUShort(long n)
public static org.joou.UShort toUShort(float n)
public static org.joou.UShort toUShort(double n)
public static @Nullable org.joou.UShort toUShort(@Nullable Number n, RoundingMode mode)
public static @Nullable org.joou.UShort toUShort(@Nullable String s, RoundingMode unused)
public static org.joou.UInteger toUInteger(byte n)
public static org.joou.UInteger toUInteger(short n)
public static org.joou.UInteger toUInteger(int n)
public static org.joou.UInteger toUInteger(long n)
public static org.joou.UInteger toUInteger(float n)
public static org.joou.UInteger toUInteger(double n)
public static @Nullable org.joou.UInteger toUInteger(@Nullable Number n, RoundingMode mode)
public static @Nullable org.joou.UInteger toUInteger(@Nullable String s, RoundingMode unused)
public static org.joou.ULong toULong(byte n)
public static org.joou.ULong toULong(short n)
public static org.joou.ULong toULong(int n)
public static org.joou.ULong toULong(long n)
public static org.joou.ULong toULong(float n)
public static org.joou.ULong toULong(double n)
public static @Nullable org.joou.ULong toULong(@Nullable Number n, RoundingMode mode)
public static @Nullable org.joou.ULong toULong(@Nullable String s, RoundingMode unused)
public static @Nullable org.joou.UShort toUShort(Object o)
public static @Nullable org.joou.UByte toUByte(Object o)
public static @Nullable org.joou.UInteger toUInteger(Object o)
public static @Nullable org.joou.ULong toULong(Object o)
Copyright © 2012-2025 Apache Software Foundation. All Rights Reserved.