public class XNumber extends Number
| Modifier and Type | Method and Description |
|---|---|
XNumber |
add(Number other) |
XNumber |
add(XNumber other) |
static Class |
bestFit(Class cls1,
Class cls2) |
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
byte |
byteValue() |
int |
comparetTo(XNumber other) |
XNumber |
complement() |
XNumber |
div(XNumber other) |
XNumber |
divide(XNumber other) |
double |
doubleValue() |
boolean |
equals(Object obj) |
boolean |
equals(XNumber other) |
float |
floatValue() |
Number |
getNumber() |
int |
hashCode() |
int |
intValue() |
boolean |
isDecimal() |
boolean |
isFloating() |
boolean |
isInteger() |
long |
longValue() |
XNumber |
mul(XNumber other) |
XNumber |
multiply(XNumber other) |
XNumber |
neg() |
XNumber |
negate() |
short |
shortValue() |
XNumber |
sub(XNumber other) |
XNumber |
subtract(XNumber other) |
XNumber |
tilde() |
Object |
toNumber() |
static Class |
validateType(Class cls1) |
static XNumber |
valueOf(Number number) |
public XNumber(Number number)
public XNumber neg()
public XNumber negate()
public XNumber tilde()
public XNumber complement()
public Object toNumber()
public boolean equals(XNumber other)
public int comparetTo(XNumber other)
public short shortValue()
shortValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic boolean isInteger()
public boolean isFloating()
public boolean isDecimal()
public BigDecimal bigDecimalValue()
public BigInteger bigIntegerValue()
public Number getNumber()
Copyright © 2021 vpc open source initiative. All rights reserved.