public abstract class PtpInteger extends java.lang.Number implements java.lang.Comparable<PtpInteger>
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
bigInteger() |
byte[] |
bytes() |
int |
compareTo(PtpInteger o) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
protected abstract boolean |
isSigned() |
long |
longValue() |
protected abstract int |
sizeInBytes() |
java.lang.String |
toString() |
public byte[] bytes()
public java.math.BigInteger bigInteger()
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public int compareTo(PtpInteger o)
compareTo
in interface java.lang.Comparable<PtpInteger>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract int sizeInBytes()
protected abstract boolean isSigned()