public final class ShortValue extends IntegralValue
| Modifier and Type | Method and Description |
|---|---|
Short |
asObjectCopy()
Return this value as a regular java boxed primitive, String or primitive array.
|
boolean |
equals(boolean[] x) |
boolean |
equals(byte[] x) |
boolean |
equals(char[] 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(OffsetTime[] x) |
boolean |
equals(short[] x) |
boolean |
equals(String[] x) |
boolean |
equals(ZonedDateTime[] x) |
String |
getTypeName() |
long |
longValue() |
<T> T |
map(ValueMapper<T> mapper) |
String |
prettyPrint()
Returns a json-like string representation of the current value.
|
String |
toString() |
short |
value() |
<E extends Exception> |
writeTo(ValueWriter<E> writer) |
compareTo, compareTo, computeHash, dividedBy, dividedBy, doubleValue, eq, equals, equals, equals, minus, minus, numberType, plus, plus, safeCastIntegral, times, times, updateHashasObject, divideBy, equals, equals, equals, minus, plus, safeCastFloatingPoint, times, valueGrouphashCode64, isNaN, parseHeaderInformation, ternaryEquals, writeToequals, hashCode, isSequenceValuepublic short value()
public long longValue()
longValue in class NumberValuepublic <E extends Exception> void writeTo(ValueWriter<E> writer) throws E extends Exception
public Short asObjectCopy()
ValueasObjectCopy in class NumberValuepublic String prettyPrint()
ValueprettyPrint in class Valuepublic <T> T map(ValueMapper<T> mapper)
public String getTypeName()
getTypeName in class AnyValuepublic 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.