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.Numberpublic long longValue()
longValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic int compareTo(PtpInteger o)
compareTo in interface java.lang.Comparable<PtpInteger>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected abstract int sizeInBytes()
protected abstract boolean isSigned()