2005/5/9

     
 

class Integer

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

acdk::lang::Integer Class Reference

#include <Integer.h>

Inheritance diagram for acdk::lang::Integer:

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 int type.

API: Java

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


Public Member Functions

 Integer ()
 Integer (int val)
 Integer (IN(RString) val) throw ( RNumberFormatException )
RObject clone (sys::Allocator *alc)
 reimplemented from Object

RObject clone ()
 reimplemented from Object

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

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

virtual bool equals (IN(RInteger) obj)
bool equals (int other)
virtual int compareTo (IN(RInteger) o)
virtual int compareTo (IN(RObject) o)
int compareTo (int other)
virtual dmi::ScriptVar toScriptVar ()

Static Public Member Functions

RObject create_instance ()
int parseInt (IN(RString) s, int radix=10) throw ( RNumberFormatException )
int parseInt (IN(RString) s, int radix, bool decode) throw ( RNumberFormatException )
int decode (IN(RString) nm) throw ( RNumberFormatException )
RString toString (int val, int radix=10)
RString toBinaryString (int val)
RString toHexString (int val)
RString toOctalString (int val)
RInteger valueOf (IN(RString) str) throw ( RNumberFormatException )
RInteger valueOf (IN(RString) str, int radix) throw ( RNumberFormatException )
RClass getTYPE ()

Static Public Attributes

int MAX_VALUE
int MIN_VALUE
jlong serialVersionUID

Protected Attributes

int value


Constructor & Destructor Documentation

acdk::lang::Integer::Integer  )  [inline]
 

acdk::lang::Integer::Integer int  val  )  [inline]
 

acdk::lang::Integer::Integer IN(RString val  )  throw ( RNumberFormatException )
 


Member Function Documentation

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

Implements acdk::lang::Number.

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

reimplemented from Object

Implements acdk::lang::Cloneable.

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

reimplemented from Object

Reimplemented from acdk::lang::Cloneable.

int acdk::lang::Integer::compareTo int  other  )  [inline]
 

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

Implements acdk::lang::Comparable.

virtual int acdk::lang::Integer::compareTo IN(RInteger o  )  [inline, virtual]
 

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

Reimplemented from acdk::lang::Object.

int acdk::lang::Integer::decode IN(RString nm  )  throw ( RNumberFormatException ) [inline, static]
 

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

Implements acdk::lang::Number.

bool acdk::lang::Integer::equals int  other  )  [inline]
 

virtual bool acdk::lang::Integer::equals IN(RInteger obj  )  [inline, virtual]
 

virtual bool acdk::lang::Integer::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.

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

Implements acdk::lang::Number.

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

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

See also:
serialized_hashCode

Reimplemented from acdk::lang::Number.

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

Implements acdk::lang::Number.

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

Implements acdk::lang::Number.

int acdk::lang::Integer::parseInt IN(RString s,
int  radix,
bool  decode
throw ( RNumberFormatException ) [static]
 

int acdk::lang::Integer::parseInt IN(RString s,
int  radix = 10
throw ( RNumberFormatException ) [inline, static]
 

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

Implements acdk::lang::Number.

RString acdk::lang::Integer::toBinaryString int  val  )  [static]
 

RString acdk::lang::Integer::toHexString int  val  )  [static]
 

RString acdk::lang::Integer::toOctalString int  val  )  [static]
 

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

Reimplemented from acdk::lang::Number.

RString acdk::lang::Integer::toString int  val,
int  radix = 10
[static]
 

virtual RString acdk::lang::Integer::toString  )  [virtual]
 

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

Reimplemented from acdk::lang::Object.

RInteger acdk::lang::Integer::valueOf IN(RString str,
int  radix
throw ( RNumberFormatException ) [inline, static]
 

RInteger acdk::lang::Integer::valueOf IN(RString str  )  throw ( RNumberFormatException ) [inline, static]
 


Member Data Documentation

int acdk::lang::Integer::MAX_VALUE [static]
 

int acdk::lang::Integer::MIN_VALUE [static]
 

jlong acdk::lang::Integer::serialVersionUID [static]
 

int acdk::lang::Integer::value [protected]