public class ConfEDouble extends ConfEObject implements Serializable, Cloneable
ConfEFloat are used to provide representations corresponding to the
 Java types Double and Float.| Constructor and Description | 
|---|
ConfEDouble(ConfInputStream buf)
Create an E float from a stream containing a double encoded in E external
 format. 
 | 
ConfEDouble(double d)
Create an E float from the given double value. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
doubleValue()
Get the value, as a double. 
 | 
void | 
encode(ConfOutputStream buf)
Convert this double to the equivalent E external representation. 
 | 
boolean | 
equals(Object o)
Determine if two floats are equal. 
 | 
float | 
floatValue()
Get the value, as a float. 
 | 
int | 
hashCode()  | 
String | 
toString()
Get the string representation of this double. 
 | 
clone, decodepublic ConfEDouble(double d)
public ConfEDouble(ConfInputStream buf) throws ConfEDecodeException
buf - the stream containing the encoded value.ConfEDecodeException - if the buffer does not contain a valid external
                representation of an E float.public double doubleValue()
public float floatValue()
                 throws ConfERangeException
ConfERangeException - if the value cannot be represented as a float.public String toString()
toString in class ConfEObjectpublic void encode(ConfOutputStream buf)
encode in class ConfEObjectbuf - an output stream to which the encoded value should be written.public boolean equals(Object o)
equals in class ConfEObjecto - the float to compare to.