| Package | Description |
|---|---|
| ch.jalu.typeresolver.numbers |
| Modifier and Type | Method and Description |
|---|---|
ValueRangeComparison |
StandardNumberType.compareToValueRange(Number number) |
ValueRangeComparison |
NumberType.compareToValueRange(Number number)
Compares the given value to this type's value range, indicating whether it can be represented by this type
without loss of magnitude, or why it cannot.
|
static ValueRangeComparison |
ValueRangeComparison.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueRangeComparison[] |
ValueRangeComparison.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<ValueRangeComparison> |
ValueRangeComparison.getErrorForNonFiniteValue(double value)
Returns the appropriate "Unsupported" comparison entry if the given double represents a non-finite value
from Float or Double.
|
static Optional<ValueRangeComparison> |
ValueRangeComparison.getErrorForNonFiniteValue(Number number)
Returns the appropriate "Unsupported" comparison entry if the given number represents a non-finite value
from Float or Double.
|
Copyright © 2023. All rights reserved.