public interface Num
| Modifier and Type | Method and Description |
|---|---|
Double |
getNum()
Returns the singleton number value, or null if definitely not a singleton number.
|
boolean |
isMaybeAnyNum()
Returns true if this value is maybe any number.
|
boolean |
isMaybeFuzzyNum()
Returns true if this value is maybe a non-singleton number or NaN or +/-Inf.
|
boolean |
isMaybeInf()
Returns true if this value is maybe infinite.
|
boolean |
isMaybeNaN()
Returns true if this value is maybe NaN.
|
boolean |
isMaybeNumOther()
Returns true if this value is maybe any non-UInt, non-Inf, non-NaN number.
|
boolean |
isMaybeNumUInt()
Returns true if this value is maybe any UInt number.
|
boolean |
isMaybeOtherThanNum()
Returns true if this value is maybe a non-number.
|
boolean |
isMaybeOtherThanNumUInt()
Returns true if this value is maybe not an UInt-number.
|
boolean |
isMaybeSingleNum()
Returns true if this value is maybe a singleton number, excluding NaN and +/-Inf.
|
boolean |
isMaybeSingleNumUInt()
Returns true if this value is maybe a singleton UInt number.
|
boolean |
isNaN()
Returns true if this value is definitely NaN.
|
boolean |
isNotNum()
Returns true if this value is definitely not a number.
|
Value |
joinAnyNum()
Constructs a value as the join of this value and maybe any number.
|
Value |
joinAnyNumOther()
Constructs a value as the join of this value and maybe any non-UInt number (excluding NaN and +/-Infinity).
|
Value |
joinAnyNumUInt()
Constructs a value as the join of this value and maybe any UInt number.
|
Value |
joinNum(double v)
Constructs a value as the join of this value and the given concrete number.
|
Value |
joinNumInf()
Constructs a value as the join of this value and +/-Inf.
|
Value |
joinNumNaN()
Constructs a value as the join of this value and NaN.
|
Value |
restrictToNotNaN()
Constructs a value as a copy of this value but definitely not NaN.
|
Value |
restrictToNotNum()
Constructs a value from this value but definitely not a number.
|
Value |
restrictToNum()
Constructs a value from this value where only the number facet is considered.
|
Double getNum()
boolean isMaybeAnyNum()
boolean isMaybeFuzzyNum()
boolean isMaybeInf()
boolean isMaybeNaN()
boolean isMaybeNumOther()
boolean isMaybeNumUInt()
boolean isMaybeOtherThanNum()
boolean isMaybeOtherThanNumUInt()
boolean isMaybeSingleNum()
boolean isMaybeSingleNumUInt()
boolean isNaN()
boolean isNotNum()
Value joinAnyNum()
Value joinAnyNumOther()
Value joinAnyNumUInt()
Value joinNum(double v)
Value joinNumInf()
Value joinNumNaN()
Value restrictToNotNaN()
Value restrictToNotNum()
Value restrictToNum()
Copyright © 2012 Aarhus University