java.io.Serializable, java.lang.Cloneablepublic class OtpErlangFloat extends OtpErlangDouble
OtpErlangObject.HashhashCodeValue| Constructor | Description |
|---|---|
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.
|
finalize, getClass, notify, notifyAll, wait, wait, waitdoHashCode, doubleValue, encode, equals, floatValue, toStringpublic 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.