2005/5/9

     
 

class Short

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

acdk::lang::Short Class Reference

#include <Short.h>

Inheritance diagram for acdk::lang::Short:

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

API: Java

Author:
Roger Rene Kommer
Version:
Revision
1.17
Date:
Date
2005/04/09 19:26:50


Public Member Functions

 Short (IN(RString) str) throw ( RNumberFormatException )
 Short (short s)
int compareTo (IN(RObject) o)
 reimplemented from Object

virtual int compareTo (IN(RShort) anotherShort)
int compareTo (short other)
bool equals (IN(RShort) o)
bool equals (IN(RObject) o)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

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

RObject clone ()
 reimplemented from Object

int hashCode ()
 reimplemented from Object

byte byteValue ()
 reimplemented from Number

short shortValue ()
 reimplemented from Number

int intValue ()
 reimplemented from Number

jlong longValue ()
 reimplemented from Number

float floatValue ()
 reimplemented from Number

double doubleValue ()
 reimplemented from Number

RString toString ()
 reimplemented from Object

virtual dmi::ScriptVar toScriptVar ()

Static Public Member Functions

RObject create_instance ()
short parseShort (IN(RString) str, int radix=10) throw ( RNumberFormatException )
RShort decode (IN(RString) str) throw ( RNumberFormatException )
RString toString (short s, int radix=10)
RShort valueOf (IN(RString) s, int radix=10) throw ( RNumberFormatException )
RClass getTYPE ()

Static Public Attributes

short MAX_VALUE
short MIN_VALUE

Protected Attributes

short value


Constructor & Destructor Documentation

acdk::lang::Short::Short (  IN(RString)  str  )  throw ( RNumberFormatException )
 

acdk::lang::Short::Short (  short  s  ) 
 


Member Function Documentation

byte acdk::lang::Short::byteValue (   )  [inline, virtual]
 

reimplemented from Number

Implements acdk::lang::Number.

RObject acdk::lang::Short::clone (   )  [inline, virtual]
 

reimplemented from Object

Implements acdk::lang::Cloneable.

RObject acdk::lang::Short::clone (  sys::Allocator *  alc  )  [inline, virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Cloneable.

int acdk::lang::Short::compareTo (  short  other  )  [inline]
 

virtual int acdk::lang::Short::compareTo (  IN(RShort)  anotherShort  )  [virtual]
 

int acdk::lang::Short::compareTo (  IN(RObject)  o  )  [virtual]
 

reimplemented from Object

Implements acdk::lang::Comparable.

RObject acdk::lang::Short::create_instance (   )  [inline, static]
 

Reimplemented from acdk::lang::Object.

RShort acdk::lang::Short::decode (  IN(RString)  str  )  throw ( RNumberFormatException ) [static]
 

double acdk::lang::Short::doubleValue (   )  [inline, virtual]
 

reimplemented from Number

Implements acdk::lang::Number.

bool acdk::lang::Short::equals (  short  other  )  [inline]
 

bool acdk::lang::Short::equals (  IN(RObject)  o  )  [inline, 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::Short::equals (  IN(RShort)  o  )  [inline]
 

float acdk::lang::Short::floatValue (   )  [inline, virtual]
 

reimplemented from Number

Implements acdk::lang::Number.

RClass acdk::lang::Short::getTYPE (   )  [static]
 

int acdk::lang::Short::hashCode (   )  [inline, virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Number.

int acdk::lang::Short::intValue (   )  [inline, virtual]
 

reimplemented from Number

Implements acdk::lang::Number.

jlong acdk::lang::Short::longValue (   )  [inline, virtual]
 

reimplemented from Number

Implements acdk::lang::Number.

short acdk::lang::Short::parseShort (  IN(RString)  str,
int  radix = 10
)  throw ( RNumberFormatException ) [static]
 

short acdk::lang::Short::shortValue (   )  [inline, virtual]
 

reimplemented from Number

Implements acdk::lang::Number.

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

Reimplemented from acdk::lang::Number.

RString acdk::lang::Short::toString (  short  s,
int  radix = 10
)  [static]
 

RString acdk::lang::Short::toString (   )  [virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Object.

RShort acdk::lang::Short::valueOf (  IN(RString)  s,
int  radix = 10
)  throw ( RNumberFormatException ) [static]
 


Member Data Documentation

short acdk::lang::Short::MAX_VALUE [static]
 

short acdk::lang::Short::MIN_VALUE [static]
 

short acdk::lang::Short::value [protected]