Package org.apache.calcite.linq4j.tree
Enum UnsignedType
- All Implemented Interfaces:
Serializable,Comparable<UnsignedType>,Constable
Support for compiling unsigned types.
This class has a role similar to
Primitive-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the function that casts a value of type Object to the current type.static @Nullable UnsignedTypestatic BigIntegertoBigInteger(org.joou.ULong value) static org.joou.UBytetoUByte(byte n) static org.joou.UBytetoUByte(double n) static org.joou.UBytetoUByte(float n) static org.joou.UBytetoUByte(int n) static org.joou.UBytetoUByte(long n) static org.joou.UBytetoUByte(short n) static @Nullable org.joou.UBytetoUByte(@Nullable Number n, RoundingMode mode) static @Nullable org.joou.UBytetoUByte(@Nullable String s, RoundingMode unused) static @Nullable org.joou.UBytestatic org.joou.UIntegertoUInteger(byte n) static org.joou.UIntegertoUInteger(double n) static org.joou.UIntegertoUInteger(float n) static org.joou.UIntegertoUInteger(int n) static org.joou.UIntegertoUInteger(long n) static org.joou.UIntegertoUInteger(short n) static @Nullable org.joou.UIntegertoUInteger(@Nullable Number n, RoundingMode mode) static @Nullable org.joou.UIntegertoUInteger(@Nullable String s, RoundingMode unused) static @Nullable org.joou.UIntegertoUInteger(Object o) static org.joou.ULongtoULong(byte n) static org.joou.ULongtoULong(double n) static org.joou.ULongtoULong(float n) static org.joou.ULongtoULong(int n) static org.joou.ULongtoULong(long n) static org.joou.ULongtoULong(short n) static @Nullable org.joou.ULongtoULong(@Nullable Number n, RoundingMode mode) static @Nullable org.joou.ULongtoULong(@Nullable String s, RoundingMode unused) static @Nullable org.joou.ULongstatic org.joou.UShorttoUShort(byte n) static org.joou.UShorttoUShort(double n) static org.joou.UShorttoUShort(float n) static org.joou.UShorttoUShort(int n) static org.joou.UShorttoUShort(long n) static org.joou.UShorttoUShort(short n) static @Nullable org.joou.UShorttoUShort(@Nullable Number n, RoundingMode mode) static @Nullable org.joou.UShorttoUShort(@Nullable String s, RoundingMode unused) static @Nullable org.joou.UShortstatic UnsignedTypeReturns 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.
-
Enum Constant Details
-
UBYTE
-
USHORT
-
UINT
-
ULONG
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
of
-
toJavaTypeName
-
getConvertFunctionName
Get the name of the function that casts a value of type Object to the current type. -
toBigInteger
-
toUByte
public static org.joou.UByte toUByte(byte n) -
toUByte
public static org.joou.UByte toUByte(short n) -
toUByte
public static org.joou.UByte toUByte(int n) -
toUByte
public static org.joou.UByte toUByte(long n) -
toUByte
public static org.joou.UByte toUByte(float n) -
toUByte
public static org.joou.UByte toUByte(double n) -
toUByte
-
toUByte
-
toUShort
public static org.joou.UShort toUShort(byte n) -
toUShort
public static org.joou.UShort toUShort(short n) -
toUShort
public static org.joou.UShort toUShort(int n) -
toUShort
public static org.joou.UShort toUShort(long n) -
toUShort
public static org.joou.UShort toUShort(float n) -
toUShort
public static org.joou.UShort toUShort(double n) -
toUShort
-
toUShort
-
toUInteger
public static org.joou.UInteger toUInteger(byte n) -
toUInteger
public static org.joou.UInteger toUInteger(short n) -
toUInteger
public static org.joou.UInteger toUInteger(int n) -
toUInteger
public static org.joou.UInteger toUInteger(long n) -
toUInteger
public static org.joou.UInteger toUInteger(float n) -
toUInteger
public static org.joou.UInteger toUInteger(double n) -
toUInteger
-
toUInteger
-
toULong
public static org.joou.ULong toULong(byte n) -
toULong
public static org.joou.ULong toULong(short n) -
toULong
public static org.joou.ULong toULong(int n) -
toULong
public static org.joou.ULong toULong(long n) -
toULong
public static org.joou.ULong toULong(float n) -
toULong
public static org.joou.ULong toULong(double n) -
toULong
-
toULong
-
toUShort
-
toUByte
-
toUInteger
-
toULong
-