jcpp::LongJC Class Reference

#include <LongJC.h>

Inheritance diagram for jcpp::LongJC:

Inheritance graph
[legend]
Collaboration diagram for jcpp::LongJC:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LongJC (char *s, int &NumberFormatErr)
 LongJC (long long value_)
double doubleValue ()
boolean equals (Object *obj)
float floatValue ()
int intValue (int &rangeError)
long long longValue ()
CFREE char * toString ()

Static Public Member Functions

static long long parseLong (char *s, int &NumberFormatErr)
static CFREE char * toBinaryString (long long i)
static CFREE char * toHexString (long long i)
static CFREE char * toOctalString (long long i)
static CFREE char * toString (long long i)
static CFREE char * toString (long long i, int radix)
static LongJCvalueOf (char *s, int &NumberFormatErr)

Static Private Member Functions

static char forDigit (long long digit, int radix)
static char * toUnsignedString (long long i, int bits)

Private Attributes

long long value


Detailed Description

long container ala java

Member Function Documentation

static char* jcpp::LongJC::toUnsignedString ( long long  i,
int  bits 
) [static, private]

completely buggy. java >>>= is what in c?

int jcpp::LongJC::intValue ( int &  rangeError  ) 

we round to nearest int infinity if int is overflowed.


The documentation for this class was generated from the following file:

Generated on Tue Apr 28 03:13:01 2009 for CCAFFEINE by  doxygen 1.5.5