|
||||||||
| 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.OtpErlangDouble
|
+--com.ericsson.otp.erlang.OtpErlangFloat
Provides a Java representation of Erlang floats and doubles.
| Constructor Summary | |
OtpErlangFloat(float f)
Create an Erlang float from the given float value. |
|
OtpErlangFloat(OtpInputStream buf)
Create an Erlang float from a stream containing a float encoded in Erlang external format. |
|
| Methods inherited from class com.ericsson.otp.erlang.OtpErlangDouble |
doubleValue, encode, equals, floatValue, toString |
| 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 OtpErlangFloat(float f)
public OtpErlangFloat(OtpInputStream buf)
throws OtpErlangDecodeException,
OtpErlangRangeException
buf - the stream containing the encoded value.OtpErlangDecodeException - if the buffer does not
contain a valid external representation of an Erlang float.OtpErlangRangeException - if the value cannot be
represented as a Java float.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||