public class VncLong extends VncNumber
| Modifier and Type | Field and Description |
|---|---|
static VncKeyword |
TYPE |
| Constructor and Description |
|---|
VncLong(java.lang.Integer v) |
VncLong(java.lang.Long v) |
VncLong(java.lang.Long v,
VncVal meta) |
VncLong(java.lang.Long v,
VncWrappingTypeDef wrappingTypeDef,
VncVal meta) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VncVal o) |
java.lang.Object |
convertToJavaObject() |
boolean |
equals(java.lang.Object obj) |
java.util.List<VncKeyword> |
getAllSupertypes() |
java.lang.Integer |
getIntValue() |
VncKeyword |
getSupertype() |
VncKeyword |
getType() |
java.lang.Long |
getValue() |
int |
hashCode() |
VncLong |
negate() |
static VncLong |
of(VncVal v) |
java.math.BigDecimal |
toJavaBigDecimal() |
java.math.BigDecimal |
toJavaBigDecimal(int scale) |
java.math.BigInteger |
toJavaBigInteger() |
java.lang.Double |
toJavaDouble() |
java.lang.Integer |
toJavaInteger() |
java.lang.Long |
toJavaLong() |
java.lang.String |
toString() |
TypeRank |
typeRank() |
VncLong |
withMeta(VncVal meta) |
VncLong |
wrap(VncWrappingTypeDef wrappingTypeDef,
VncVal meta) |
getMeta, getMetaVal, getMetaVal, getWrappingTypeDef, isPrivate, isVncList, isWrapped, toStringpublic static final VncKeyword TYPE
public VncLong(java.lang.Long v)
public VncLong(java.lang.Integer v)
public VncLong(java.lang.Long v,
VncVal meta)
public VncLong(java.lang.Long v,
VncWrappingTypeDef wrappingTypeDef,
VncVal meta)
public VncLong wrap(VncWrappingTypeDef wrappingTypeDef, VncVal meta)
public VncKeyword getType()
public VncKeyword getSupertype()
getSupertype in class VncValpublic java.util.List<VncKeyword> getAllSupertypes()
getAllSupertypes in class VncValpublic VncLong negate()
public java.lang.Long getValue()
public java.lang.Integer getIntValue()
public java.lang.Object convertToJavaObject()
convertToJavaObject in class VncValpublic java.lang.Integer toJavaInteger()
toJavaInteger in class VncNumberpublic java.lang.Long toJavaLong()
toJavaLong in class VncNumberpublic java.lang.Double toJavaDouble()
toJavaDouble in class VncNumberpublic java.math.BigInteger toJavaBigInteger()
toJavaBigInteger in class VncNumberpublic java.math.BigDecimal toJavaBigDecimal()
toJavaBigDecimal in class VncNumberpublic java.math.BigDecimal toJavaBigDecimal(int scale)
toJavaBigDecimal in class VncNumberpublic int compareTo(VncVal o)
public java.lang.String toString()
toString in class java.lang.Object