|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ericsson.otp.erlang.OtpErlangObject com.ericsson.otp.erlang.OtpErlangLong com.ericsson.otp.erlang.OtpErlangInt
public class OtpErlangInt
Provides a Java representation of Erlang integral types.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ericsson.otp.erlang.OtpErlangObject |
---|
OtpErlangObject.Hash |
Field Summary |
---|
Fields inherited from class com.ericsson.otp.erlang.OtpErlangObject |
---|
hashCodeValue |
Constructor Summary | |
---|---|
OtpErlangInt(int i)
Create an Erlang integer from the given value. |
|
OtpErlangInt(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in Erlang external format. |
Method Summary |
---|
Methods inherited from class com.ericsson.otp.erlang.OtpErlangLong |
---|
bigIntegerValue, bitLength, byteValue, charValue, doHashCode, encode, equals, intValue, isLong, isULong, longValue, shortValue, signum, toString, uIntValue, uShortValue |
Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject |
---|
clone, decode, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OtpErlangInt(int i)
i
- the int value to use.public OtpErlangInt(OtpInputStream buf) throws OtpErlangRangeException, OtpErlangDecodeException
buf
- the stream containing the encoded value.
OtpErlangDecodeException
- if the buffer does not contain a valid external
representation of an Erlang integer.
OtpErlangRangeException
- if the value is too large to be represented as an int.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |