|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ericsson.otp.erlang.OtpErlangObject | +--com.ericsson.otp.erlang.OtpErlangLong | +--com.ericsson.otp.erlang.OtpErlangUShort
Provides a Java representation of Erlang integral types.
Constructor Summary | |
OtpErlangUShort(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in Erlang external format. |
|
OtpErlangUShort(short s)
Create an Erlang integer from the given value. |
Methods inherited from class com.ericsson.otp.erlang.OtpErlangLong |
bigIntegerValue, bitLength, byteValue, charValue, encode, equals, intValue, isLong, isULong, longValue, shortValue, signum, toString, uIntValue, uShortValue |
Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject |
clone, decode |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OtpErlangUShort(short s) throws OtpErlangRangeException
s
- the non-negative short value to use.OtpErlangRangeException
- if the value is negative.public OtpErlangUShort(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 a short, or the value is negative.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |