All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jive.erlang.EFloat

java.lang.Object
   |
   +----jive.erlang.EVar
           |
           +----jive.erlang.EFloat

public class EFloat
extends EVar
EFloat is a class that encapsulates an Erlang Float.

Author:
Kaj Nygren (kaj@medialab.ericsson.se), Joakim Grebenö (jocke@erix.ericsson.se)

Constructor Index

 o EFloat(double)
Creates an Erlang Float with the a given double value.

Method Index

 o equals(Object)
Compares this object to the specified object.
 o hashCode()
Returns a hashcode for this EFloat (Code taken from Double class).
 o pack()
Packs the Erlang Float into a byte array.
 o value()
Returns the double value of this Erlang Float.

Constructors

 o EFloat
 public EFloat(double eFloat)
Creates an Erlang Float with the a given double value.

Methods

 o value
 public double value()
Returns the double value of this Erlang Float.

 o hashCode
 public int hashCode()
Returns a hashcode for this EFloat (Code taken from Double class).

Overrides:
hashCode in class Object
 o equals
 public boolean equals(Object obj)
Compares this object to the specified object. Two EFloats are the same if they contain the same double value (Code adapted from Integer class).

Overrides:
equals in class Object
 o pack
 public byte[] pack()
Packs the Erlang Float into a byte array. Used when sending the string to an Erlang server.

Overrides:
pack in class EVar

All Packages  Class Hierarchy  This Package  Previous  Next  Index