public abstract class IntegralValue extends NumberValue
| Constructor and Description |
|---|
IntegralValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FloatingPointValue other) |
int |
compareTo(IntegralValue other) |
int |
computeHash() |
DoubleValue |
dividedBy(double b) |
LongValue |
dividedBy(long b) |
double |
doubleValue() |
boolean |
eq(Object other) |
boolean |
equals(boolean[] x) |
boolean |
equals(byte[] x) |
boolean |
equals(char[] x) |
boolean |
equals(double x) |
boolean |
equals(double[] x) |
boolean |
equals(DurationValue[] x) |
boolean |
equals(float[] x) |
boolean |
equals(int[] x) |
boolean |
equals(LocalDate[] x) |
boolean |
equals(LocalDateTime[] x) |
boolean |
equals(LocalTime[] x) |
boolean |
equals(long x) |
boolean |
equals(long[] x) |
boolean |
equals(OffsetTime[] x) |
boolean |
equals(short[] x) |
boolean |
equals(String[] x) |
boolean |
equals(Value other) |
boolean |
equals(ZonedDateTime[] x) |
DoubleValue |
minus(double b) |
LongValue |
minus(long b) |
NumberType |
numberType() |
DoubleValue |
plus(double b) |
LongValue |
plus(long b) |
static long |
safeCastIntegral(String name,
AnyValue value,
long defaultValue) |
DoubleValue |
times(double b) |
LongValue |
times(long b) |
long |
updateHash(HashFunction hashFunction,
long hash) |
asObject, asObjectCopy, divideBy, equals, equals, equals, longValue, minus, plus, safeCastFloatingPoint, times, valueGrouphashCode64, isNaN, parseHeaderInformation, prettyPrint, ternaryEquals, writeTo, writeToequals, getTypeName, hashCode, isSequenceValue, mappublic static long safeCastIntegral(String name, AnyValue value, long defaultValue)
public final int computeHash()
computeHash in class AnyValuepublic long updateHash(HashFunction hashFunction, long hash)
updateHash in class Valuepublic int compareTo(IntegralValue other)
compareTo in class NumberValuepublic int compareTo(FloatingPointValue other)
compareTo in class NumberValuepublic NumberType numberType()
numberType in class Valuepublic double doubleValue()
doubleValue in class NumberValuepublic LongValue minus(long b)
minus in class NumberValuepublic DoubleValue minus(double b)
minus in class NumberValuepublic LongValue plus(long b)
plus in class NumberValuepublic DoubleValue plus(double b)
plus in class NumberValuepublic LongValue times(long b)
times in class NumberValuepublic DoubleValue times(double b)
times in class NumberValuepublic LongValue dividedBy(long b)
dividedBy in class NumberValuepublic DoubleValue dividedBy(double b)
dividedBy in class NumberValuepublic final boolean equals(ZonedDateTime[] x)
public final boolean equals(DurationValue[] x)
public final boolean equals(LocalDateTime[] x)
public final boolean equals(OffsetTime[] x)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.