public final class MoreNumberTypes extends Object
NumberType implementations for additional Java number types that aren't represented in
StandardNumberType.
Various methods in NumberTypes combine StandardNumberType with the number types of this class.
| Modifier and Type | Field and Description |
|---|---|
static NumberType<AtomicInteger> |
ATOMIC_INTEGER
AtomicInteger (same value range as
StandardNumberType.INTEGER). |
static NumberType<AtomicLong> |
ATOMIC_LONG
AtomicLong (same value range as
StandardNumberType.LONG). |
static NumberType<Character> |
CHARACTER
Character: [0, 65535].
|
public static final NumberType<Character> CHARACTER
Number but acts as a number in various ways; for instance,
a char can be implicitly cast to an int.public static final NumberType<AtomicInteger> ATOMIC_INTEGER
StandardNumberType.INTEGER).public static final NumberType<AtomicLong> ATOMIC_LONG
StandardNumberType.LONG).Copyright © 2023. All rights reserved.