@Immutable public final class CGlobal extends Object
Modifier and Type | Field and Description |
---|---|
static BigDecimal |
BIGDEC_100
The BigDecimal representation of 100
|
static BigDecimal |
BIGDEC_1000
The BigDecimal representation of 1000
|
static BigDecimal |
BIGDEC_2
The BigDecimal representation of 2
|
static BigDecimal |
BIGDEC_3
The BigDecimal representation of 3
|
static BigDecimal |
BIGDEC_4
The BigDecimal representation of 4
|
static BigDecimal |
BIGDEC_5
The BigDecimal representation of 5
|
static BigDecimal |
BIGDEC_50
The BigDecimal representation of 50
|
static BigDecimal |
BIGDEC_6
The BigDecimal representation of 6
|
static BigDecimal |
BIGDEC_7
The BigDecimal representation of 7
|
static BigDecimal |
BIGDEC_8
The BigDecimal representation of 8
|
static BigDecimal |
BIGDEC_9
The BigDecimal representation of 9
|
static BigDecimal |
BIGDEC_MAX_BYTE
The BigDecimal for the largest possible byte value (127)
|
static BigDecimal |
BIGDEC_MAX_CHAR
The BigDecimal for the largest possible character value (65_535)
|
static BigDecimal |
BIGDEC_MAX_DOUBLE
The BigDecimal for the largest possible double value
(1.7976931348623157E308)
|
static BigDecimal |
BIGDEC_MAX_FLOAT
The BigDecimal for the largest possible float value (3.4028235E38)
|
static BigDecimal |
BIGDEC_MAX_INT
The BigDecimal for the largest possible int value (2_147_483_647)
|
static BigDecimal |
BIGDEC_MAX_LONG
The BigDecimal for the largest possible long value
(9_223_372_036_854_775_807)
|
static BigDecimal |
BIGDEC_MAX_SHORT
The BigDecimal for the largest possible short value (32_767)
|
static BigDecimal |
BIGDEC_MIN_BYTE
The BigDecimal for the smallest possible byte value (-128)
|
static BigDecimal |
BIGDEC_MIN_CHAR
The BigDecimal for the smallest possible character value (0)
|
static BigDecimal |
BIGDEC_MIN_DOUBLE
The BigDecimal for the smallest possible double value (4.9E-324)
|
static BigDecimal |
BIGDEC_MIN_FLOAT
The BigDecimal for the smallest possible float value (1.4E-45)
|
static BigDecimal |
BIGDEC_MIN_INT
The BigDecimal for the smallest possible int value (-2_147_483_648)
|
static BigDecimal |
BIGDEC_MIN_LONG
The BigDecimal for the smallest possible long value
(-9_223_372_036_854_775_808)
|
static BigDecimal |
BIGDEC_MIN_SHORT
The BigDecimal for the smallest possible short value (-32_768)
|
static BigDecimal |
BIGDEC_MINUS_ONE
The BigDecimal representation of -1
|
static BigInteger |
BIGINT_100
The BigInteger representation of 100
|
static BigInteger |
BIGINT_1000
The BigInteger representation of 1000
|
static BigInteger |
BIGINT_2
The BigInteger representation of 2
|
static BigInteger |
BIGINT_3
The BigInteger representation of 3
|
static BigInteger |
BIGINT_4
The BigInteger representation of 4
|
static BigInteger |
BIGINT_5
The BigInteger representation of 5
|
static BigInteger |
BIGINT_50
The BigInteger representation of 50
|
static BigInteger |
BIGINT_6
The BigInteger representation of 6
|
static BigInteger |
BIGINT_7
The BigInteger representation of 7
|
static BigInteger |
BIGINT_8
The BigInteger representation of 8
|
static BigInteger |
BIGINT_9
The BigInteger representation of 9
|
static BigInteger |
BIGINT_MAX_BYTE
The BigInteger for the largest possible byte value (127)
|
static BigInteger |
BIGINT_MAX_CHAR
The BigInteger for the largest possible character value (65_535)
|
static BigInteger |
BIGINT_MAX_INT
The BigInteger for the largest possible int value (2_147_483_647)
|
static BigInteger |
BIGINT_MAX_LONG
The BigInteger for the largest possible long value
(9_223_372_036_854_775_807)
|
static BigInteger |
BIGINT_MAX_SHORT
The BigInteger for the largest possible short value (32_767)
|
static BigInteger |
BIGINT_MIN_BYTE
The BigInteger for the smallest possible byte value (-128)
|
static BigInteger |
BIGINT_MIN_CHAR
The BigInteger for the smallest possible character value (0)
|
static BigInteger |
BIGINT_MIN_INT
The BigInteger for the smallest possible int value (-2_147_483_648)
|
static BigInteger |
BIGINT_MIN_LONG
The BigInteger for the smallest possible long value
(-9_223_372_036_854_775_808)
|
static BigInteger |
BIGINT_MIN_SHORT
The BigInteger for the smallest possible short value (-32_768)
|
static BigInteger |
BIGINT_MINUS_ONE
The BigInteger representation of -1
|
static int |
BIT_NOT_SET
Value if a bit is not set (0).
|
static int |
BIT_SET
Value if a bit is set (1).
|
static int |
BITS_PER_BYTE
Number of bits in a byte.
|
static int |
BITS_PER_INT
Number of bits in an int. 32 bits.
|
static int |
BITS_PER_LONG
Number of bits in a long. 64 bits.
|
static int |
BITS_PER_SHORT
Number of bits in a short. 16 bits.
|
static long |
BYTES_PER_GIGABYTE
Bytes per gigabyte (1_073_741_824, 2^30).
|
static int |
BYTES_PER_KILOBYTE
Bytes per kilobyte (1024, 2^10).
|
static long |
BYTES_PER_KILOBYTE_LONG
Bytes per kilobyte (1024, 2^10).
|
static int |
BYTES_PER_MEGABYTE
Bytes per megabyte (1_048_576, 2^20).
|
static long |
BYTES_PER_PETABYTE
Bytes per petabyte (1_125_899_906_842_624, 2^50).
|
static long |
BYTES_PER_TERABYTE
Bytes per terabyte (1_099_511_627_776, 2^40).
|
static float |
CM_PER_INCH
Centimeter per inch (2.54)
|
static boolean |
DEFAULT_BOOLEAN
Default boolean value (false)
|
static Boolean |
DEFAULT_BOOLEAN_OBJ
Boolean value of
DEFAULT_BOOLEAN (false) |
static byte |
DEFAULT_BYTE
Default byte value (0)
|
static Byte |
DEFAULT_BYTE_OBJ
Byte value of
DEFAULT_BYTE (0) |
static char |
DEFAULT_CHAR
Default char value (0)
|
static Character |
DEFAULT_CHAR_OBJ
Character value of
DEFAULT_CHAR (0) |
static double |
DEFAULT_DOUBLE
Default double value (0)
|
static Double |
DEFAULT_DOUBLE_OBJ
Double value of
DEFAULT_DOUBLE (0) |
static float |
DEFAULT_FLOAT
Default float value (0)
|
static Float |
DEFAULT_FLOAT_OBJ
Float value of
DEFAULT_FLOAT (0) |
static int |
DEFAULT_INT
Default int value (0)
|
static Integer |
DEFAULT_INT_OBJ
Integer value of
DEFAULT_INT (0) |
static String |
DEFAULT_LANGUAGE
The default language in case no other language is specified.
|
static Locale |
DEFAULT_LOCALE
The very hardcoded default locale that cannot be changed and contains a
language and a country.
|
static long |
DEFAULT_LONG
Default long value (0)
|
static Long |
DEFAULT_LONG_OBJ
Long value of
DEFAULT_LONG (0) |
static short |
DEFAULT_SHORT
Default short value (0)
|
static Short |
DEFAULT_SHORT_OBJ
Short value of
DEFAULT_SHORT (0) |
static int |
HEX_RADIX
Radix for hexadecimal values (16).
|
static int |
HOURS_PER_DAY
Hours in a day (24).
|
static char |
ILLEGAL_CHAR
Represents an illegal character (\0).
|
static double |
ILLEGAL_DOUBLE
Represents an illegal double (Double.NaN).
|
static float |
ILLEGAL_FLOAT
Represents an illegal float (Float.NaN).
|
static int |
ILLEGAL_UINT
Represents an illegal unsigned integer (-1).
|
static long |
ILLEGAL_ULONG
Represents an illegal unsigned long (-1).
|
static short |
ILLEGAL_USHORT
Represents an illegal unsigned short (-1).
|
static int |
INDEFINITE_ENTRIES
constant for an indefinite number of entries (-1).
|
static Locale |
LOCALE_FIXED_NUMBER_FORMAT
The number for formatting numbers in a machine readable way.
|
static int |
MAX_BYTE_VALUE
The maximum number that can be represented by a single byte (0xff - 255).
|
static long |
MICROSECONDS_PER_MILLISECOND
Micro seconds per millisecond (1_000).
|
static long |
MICROSECONDS_PER_SECOND
Micro seconds per second (1_000_000).
|
static long |
MILLISECONDS_PER_HOUR
Milliseconds per hour (3_600_000).
|
static long |
MILLISECONDS_PER_MINUTE
Milliseconds per second (60_000).
|
static long |
MILLISECONDS_PER_SECOND
Milliseconds per second (1_000).
|
static int |
MINUTES_PER_DAY
Minutes in a day (1440).
|
static int |
MINUTES_PER_HOUR
Minutes in an hour (60).
|
static float |
MM_PER_INCH
Millimeter per inch (25.4)
|
static long |
NANOSECONDS_PER_MICROSECOND
Nanoseconds per microsecond (1_000).
|
static long |
NANOSECONDS_PER_MILLISECOND
Nanoseconds per millisecond (1_000_000).
|
static long |
NANOSECONDS_PER_SECOND
Nanoseconds per second (1_000_000_000).
|
static int |
SECONDS_PER_DAY
Seconds in a day (86_400).
|
static int |
SECONDS_PER_HOUR
Seconds in an hour (3_600).
|
static int |
SECONDS_PER_MINUTE
Seconds in a minute (60).
|
public static final int BITS_PER_BYTE
public static final int BITS_PER_SHORT
public static final int BITS_PER_INT
public static final int BITS_PER_LONG
public static final int BIT_SET
public static final int BIT_NOT_SET
public static final int MAX_BYTE_VALUE
public static final int HEX_RADIX
public static final short ILLEGAL_USHORT
public static final int ILLEGAL_UINT
public static final long ILLEGAL_ULONG
public static final float ILLEGAL_FLOAT
public static final double ILLEGAL_DOUBLE
public static final char ILLEGAL_CHAR
public static final int INDEFINITE_ENTRIES
public static final int BYTES_PER_KILOBYTE
public static final long BYTES_PER_KILOBYTE_LONG
public static final int BYTES_PER_MEGABYTE
public static final long BYTES_PER_GIGABYTE
public static final long BYTES_PER_TERABYTE
public static final long BYTES_PER_PETABYTE
public static final int HOURS_PER_DAY
public static final int MINUTES_PER_HOUR
public static final int MINUTES_PER_DAY
public static final int SECONDS_PER_MINUTE
public static final int SECONDS_PER_HOUR
public static final int SECONDS_PER_DAY
public static final long MILLISECONDS_PER_SECOND
public static final long MILLISECONDS_PER_MINUTE
public static final long MILLISECONDS_PER_HOUR
public static final long MICROSECONDS_PER_MILLISECOND
public static final long MICROSECONDS_PER_SECOND
public static final long NANOSECONDS_PER_MICROSECOND
public static final long NANOSECONDS_PER_MILLISECOND
public static final long NANOSECONDS_PER_SECOND
public static final BigInteger BIGINT_MAX_BYTE
public static final BigInteger BIGINT_MIN_BYTE
public static final BigInteger BIGINT_MAX_CHAR
public static final BigInteger BIGINT_MIN_CHAR
public static final BigInteger BIGINT_MAX_SHORT
public static final BigInteger BIGINT_MIN_SHORT
public static final BigInteger BIGINT_MAX_INT
public static final BigInteger BIGINT_MIN_INT
public static final BigInteger BIGINT_MAX_LONG
public static final BigInteger BIGINT_MIN_LONG
public static final BigInteger BIGINT_MINUS_ONE
public static final BigInteger BIGINT_2
public static final BigInteger BIGINT_3
public static final BigInteger BIGINT_4
public static final BigInteger BIGINT_5
public static final BigInteger BIGINT_6
public static final BigInteger BIGINT_7
public static final BigInteger BIGINT_8
public static final BigInteger BIGINT_9
public static final BigInteger BIGINT_50
public static final BigInteger BIGINT_100
public static final BigInteger BIGINT_1000
public static final BigDecimal BIGDEC_MAX_BYTE
public static final BigDecimal BIGDEC_MIN_BYTE
public static final BigDecimal BIGDEC_MAX_CHAR
public static final BigDecimal BIGDEC_MIN_CHAR
public static final BigDecimal BIGDEC_MAX_SHORT
public static final BigDecimal BIGDEC_MIN_SHORT
public static final BigDecimal BIGDEC_MAX_INT
public static final BigDecimal BIGDEC_MIN_INT
public static final BigDecimal BIGDEC_MAX_LONG
public static final BigDecimal BIGDEC_MIN_LONG
public static final BigDecimal BIGDEC_MAX_FLOAT
public static final BigDecimal BIGDEC_MIN_FLOAT
public static final BigDecimal BIGDEC_MAX_DOUBLE
public static final BigDecimal BIGDEC_MIN_DOUBLE
public static final BigDecimal BIGDEC_MINUS_ONE
public static final BigDecimal BIGDEC_2
public static final BigDecimal BIGDEC_3
public static final BigDecimal BIGDEC_4
public static final BigDecimal BIGDEC_5
public static final BigDecimal BIGDEC_6
public static final BigDecimal BIGDEC_7
public static final BigDecimal BIGDEC_8
public static final BigDecimal BIGDEC_9
public static final BigDecimal BIGDEC_50
public static final BigDecimal BIGDEC_100
public static final BigDecimal BIGDEC_1000
public static final Locale DEFAULT_LOCALE
Locale.US
.public static final String DEFAULT_LANGUAGE
public static final Locale LOCALE_FIXED_NUMBER_FORMAT
Locale.ENGLISH
which has no country part!public static final float CM_PER_INCH
public static final float MM_PER_INCH
public static final boolean DEFAULT_BOOLEAN
public static final byte DEFAULT_BYTE
public static final char DEFAULT_CHAR
public static final double DEFAULT_DOUBLE
public static final float DEFAULT_FLOAT
public static final int DEFAULT_INT
public static final long DEFAULT_LONG
public static final short DEFAULT_SHORT
public static final Boolean DEFAULT_BOOLEAN_OBJ
DEFAULT_BOOLEAN
(false)public static final Byte DEFAULT_BYTE_OBJ
DEFAULT_BYTE
(0)public static final Character DEFAULT_CHAR_OBJ
DEFAULT_CHAR
(0)public static final Double DEFAULT_DOUBLE_OBJ
DEFAULT_DOUBLE
(0)public static final Float DEFAULT_FLOAT_OBJ
DEFAULT_FLOAT
(0)public static final Integer DEFAULT_INT_OBJ
DEFAULT_INT
(0)public static final Long DEFAULT_LONG_OBJ
DEFAULT_LONG
(0)public static final Short DEFAULT_SHORT_OBJ
DEFAULT_SHORT
(0)Copyright © 2014–2019 Philip Helger. All rights reserved.