artefaktur
software engineer &        architecture

 
 
 
 

class Float

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::Float Class Reference

#include <Float.h>

Inheritance diagram for acdk::lang::Float:

acdk::lang::Number acdk::lang::Comparable acdk::lang::Cloneable acdk::lang::Object acdk::io::Serializable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Object wrapper for the basic float type.

API: Java with extensions

Author:
Roger Rene Kommer
Version:
Revision
1.22
Date:
Date
2005/04/09 19:26:48


Public Member Functions

 Float ()
 creates 0.0 float

 Float (float l)
 Float (IN(RString) str, IN(acdk::util::RLocale) locale=Nil) throw ( RNumberFormatException )
virtual int compareTo (IN(RFloat) o)
int compareTo (IN(RObject) o)
int compareTo (float other)
bool equals (IN(RFloat) o)
virtual bool equals (IN(RObject) obj)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

bool equals (float other)
RObject clone (sys::Allocator *alc)
 reimplemented from Object

RObject clone ()
 reimplemented from Object

int hashCode ()
double doubleValue ()
float floatValue ()
jlong longValue ()
int intValue ()
short shortValue ()
byte byteValue ()
RString toString ()
 return a string representation of this object Object::toString() return getName() by default

virtual dmi::ScriptVar toScriptVar ()

Static Public Member Functions

RObject create_instance ()
float parseFloat (IN(RString) s, IN(acdk::util::RLocale) locale=Nil) throw ( RNumberFormatException )
int hashCode (float value)
RString toString (float i, IN(acdk::util::RLocale) locale=Nil)
 if locale == Nil uses the C / en_US locals

RFloat valueOf (IN(RString) str) throw ( RNumberFormatException )
RClass getTYPE ()

Static Public Attributes

float MAX_VALUE
float MIN_VALUE

Protected Attributes

float value

Constructor & Destructor Documentation

acdk::lang::Float::Float  )  [inline]
 

creates 0.0 float

acdk::lang::Float::Float float  l  )  [inline]
 

acdk::lang::Float::Float IN(RString str,
IN(acdk::util::RLocale locale = Nil
throw ( RNumberFormatException )
 

See also:
Double

Member Function Documentation

byte acdk::lang::Float::byteValue  )  [inline, virtual]
 

Implements acdk::lang::Number.

RObject acdk::lang::Float::clone  )  [inline, virtual]
 

reimplemented from Object

Implements acdk::lang::Cloneable.

RObject acdk::lang::Float::clone sys::Allocator alc  )  [inline, virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Cloneable.

int acdk::lang::Float::compareTo float  other  )  [inline]
 

int acdk::lang::Float::compareTo IN(RObject o  )  [inline, virtual]
 

Implements acdk::lang::Comparable.

virtual int acdk::lang::Float::compareTo IN(RFloat o  )  [inline, virtual]
 

RObject acdk::lang::Float::create_instance  )  [inline, static]
 

Reimplemented from acdk::lang::Object.

double acdk::lang::Float::doubleValue  )  [inline, virtual]
 

Implements acdk::lang::Number.

bool acdk::lang::Float::equals float  other  )  [inline]
 

virtual bool acdk::lang::Float::equals IN(RObject obj  )  [virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

bool acdk::lang::Float::equals IN(RFloat o  )  [inline]
 

float acdk::lang::Float::floatValue  )  [inline, virtual]
 

Implements acdk::lang::Number.

RClass acdk::lang::Float::getTYPE  )  [static]
 

int acdk::lang::Float::hashCode float  value  )  [inline, static]
 

int acdk::lang::Float::hashCode  )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Number.

int acdk::lang::Float::intValue  )  [inline, virtual]
 

Implements acdk::lang::Number.

jlong acdk::lang::Float::longValue  )  [inline, virtual]
 

Implements acdk::lang::Number.

float acdk::lang::Float::parseFloat IN(RString s,
IN(acdk::util::RLocale locale = Nil
throw ( RNumberFormatException ) [static]
 

short acdk::lang::Float::shortValue  )  [inline, virtual]
 

Implements acdk::lang::Number.

virtual dmi::ScriptVar acdk::lang::Float::toScriptVar  )  [inline, virtual]
 

Reimplemented from acdk::lang::Number.

RString acdk::lang::Float::toString float  i,
IN(acdk::util::RLocale locale = Nil
[static]
 

if locale == Nil uses the C / en_US locals

RString acdk::lang::Float::toString  )  [inline, virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.

RFloat acdk::lang::Float::valueOf IN(RString str  )  throw ( RNumberFormatException ) [static]
 


Member Data Documentation

float acdk::lang::Float::MAX_VALUE [static]
 

float acdk::lang::Float::MIN_VALUE [static]
 

float acdk::lang::Float::value [protected]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer