|
activemq-cpp-3.9.5
|
#include <src/main/decaf/lang/Character.h>

Public Member Functions | |
| Character (char value) | |
| virtual int | compareTo (const Character &c) const |
| Compares this Character instance with another. | |
| virtual bool | operator== (const Character &c) const |
| Compares equality between this object and the one passed. | |
| virtual bool | operator< (const Character &c) const |
| Compares this object to another and returns true if this object is considered to be less than the one passed. | |
| virtual int | compareTo (const char &c) const |
| Compares this Character instance with a char type. | |
| virtual bool | operator== (const char &c) const |
| Compares equality between this object and the one passed. | |
| virtual bool | operator< (const char &c) const |
| Compares this object to another and returns true if this object is considered to be less than the one passed. | |
| bool | equals (const Character &c) const |
| bool | equals (const char &c) const |
| std::string | toString () const |
| virtual double | doubleValue () const |
| Answers the double value which the receiver represents. | |
| virtual float | floatValue () const |
| Answers the float value which the receiver represents. | |
| virtual unsigned char | byteValue () const |
| Answers the byte value which the receiver represents. | |
| virtual short | shortValue () const |
| Answers the short value which the receiver represents. | |
| virtual int | intValue () const |
| Answers the int value which the receiver represents. | |
| virtual long long | longValue () const |
| Answers the long value which the receiver represents. | |
Public Member Functions inherited from decaf::lang::Number | |
| virtual | ~Number () |
| virtual unsigned char | byteValue () const |
| Answers the byte value which the receiver represents. | |
| virtual double | doubleValue () const =0 |
| Answers the double value which the receiver represents. | |
| virtual float | floatValue () const =0 |
| Answers the float value which the receiver represents. | |
| virtual int | intValue () const =0 |
| Answers the int value which the receiver represents. | |
| virtual long long | longValue () const =0 |
| Answers the long value which the receiver represents. | |
| virtual short | shortValue () const |
| Answers the short value which the receiver represents. | |
Public Member Functions inherited from decaf::lang::Comparable< Character > | |
| virtual | ~Comparable () |
| virtual int | compareTo (const Character &value) const=0 |
| Compares this object with the specified object for order. | |
| virtual bool | equals (const Character &value) const=0 |
| virtual bool | operator== (const Character &value) const=0 |
| Compares equality between this object and the one passed. | |
| virtual bool | operator< (const Character &value) const=0 |
| Compares this object to another and returns true if this object is considered to be less than the one passed. | |
Public Member Functions inherited from decaf::lang::Comparable< char > | |
| virtual | ~Comparable () |
| virtual int | compareTo (const char &value) const=0 |
| Compares this object with the specified object for order. | |
| virtual bool | equals (const char &value) const=0 |
| virtual bool | operator== (const char &value) const=0 |
| Compares equality between this object and the one passed. | |
| virtual bool | operator< (const char &value) const=0 |
| Compares this object to another and returns true if this object is considered to be less than the one passed. | |
Static Public Member Functions | |
| static Character | valueOf (char value) |
| Returns a Character instance representing the specified char value. | |
| static bool | isWhitespace (char c) |
| Indicates whether or not the given character is considered whitespace. | |
| static bool | isDigit (char c) |
| Indicates whether or not the given character is a digit. | |
| static bool | isLowerCase (char c) |
| Indicates whether or not the given character is a lower case character. | |
| static bool | isUpperCase (char c) |
| Indicates whether or not the given character is a upper case character. | |
| static bool | isLetter (char c) |
| Indicates whether or not the given character is a letter. | |
| static bool | isLetterOrDigit (char c) |
| Indicates whether or not the given character is either a letter or a digit. | |
| static bool | isISOControl (char c) |
| Answers whether the character is an ISO control character, which is a char that lays in the range of 0 to 1f and 7f to 9f. | |
| static int | digit (char c, int radix) |
| Returns the numeric value of the character ch in the specified radix. | |
| static char | toLowerCase (char value) |
| Returns the lower case equivalent for the specified character if the character is an upper case letter. | |
| static char | toUpperCase (char value) |
| Returns the upper case equivalent for the specified character if the character is a lower case letter. | |
Static Public Attributes | |
| static const int | MIN_RADIX |
| The minimum radix available for conversion to and from strings. | |
| static const int | MAX_RADIX |
| The maximum radix available for conversion to and from strings. | |
| static const char | MIN_VALUE |
| The minimum value that a signed char can take on. | |
| static const char | MAX_VALUE |
| The maximum value that a signed char can take on. | |
| static const int | SIZE |
| The size of the primitive character in bits. | |
| decaf::lang::Character::Character | ( | char | value | ) |
| value | - char to wrap. |
|
inlinevirtual |
Answers the byte value which the receiver represents.
Reimplemented from decaf::lang::Number.
|
inlinevirtual |
Compares this Character instance with a char type.
| c | the char instance to be compared |
Implements decaf::lang::Comparable< char >.
Compares this Character instance with another.
| c | the Character instance to be compared |
Implements decaf::lang::Comparable< Character >.
|
static |
Returns the numeric value of the character ch in the specified radix.
If the radix is not in the range MIN_RADIX <= radix <= MAX_RADIX or if the value of ch is not a valid digit in the specified radix, -1 is returned. A character is a valid digit if at least one of the following is true:
| c | the char to be converted |
| radix | the radix of the number |
|
inlinevirtual |
Answers the double value which the receiver represents.
Implements decaf::lang::Number.
|
inlinevirtual |
Implements decaf::lang::Comparable< char >.
Implements decaf::lang::Comparable< Character >.
|
inlinevirtual |
Answers the float value which the receiver represents.
Implements decaf::lang::Number.
|
inlinevirtual |
Answers the int value which the receiver represents.
Implements decaf::lang::Number.
|
inlinestatic |
Indicates whether or not the given character is a digit.
| c | The character whose value is being checked. |
|
inlinestatic |
Answers whether the character is an ISO control character, which is a char that lays in the range of 0 to 1f and 7f to 9f.
| c | the character, including supplementary characters |
|
inlinestatic |
Indicates whether or not the given character is a letter.
| c | The character whose value is being checked. |
|
inlinestatic |
Indicates whether or not the given character is either a letter or a digit.
| c | The character whose value is being checked. |
|
inlinestatic |
Indicates whether or not the given character is a lower case character.
| c | The character whose value is being checked. |
|
inlinestatic |
Indicates whether or not the given character is a upper case character.
| c | The character whose value is being checked. |
|
inlinestatic |
Indicates whether or not the given character is considered whitespace.
| c | The character whose value is being checked. |
|
inlinevirtual |
Answers the long value which the receiver represents.
Implements decaf::lang::Number.
|
inlinevirtual |
Compares this object to another and returns true if this object is considered to be less than the one passed.
This
| c | the value to be compared to this one. |
Implements decaf::lang::Comparable< char >.
Compares this object to another and returns true if this object is considered to be less than the one passed.
| c | the value to be compared to this one. |
Implements decaf::lang::Comparable< Character >.
|
inlinevirtual |
Compares equality between this object and the one passed.
| c | the value to be compared to this one. |
Implements decaf::lang::Comparable< char >.
Compares equality between this object and the one passed.
| c | the value to be compared to this one. |
Implements decaf::lang::Comparable< Character >.
|
inlinevirtual |
Answers the short value which the receiver represents.
Reimplemented from decaf::lang::Number.
|
inlinestatic |
Returns the lower case equivalent for the specified character if the character is an upper case letter.
Otherwise, the specified character is returned unchanged.
| value | the character to convert if needed. |
| std::string decaf::lang::Character::toString | ( | ) | const |
|
inlinestatic |
Returns the upper case equivalent for the specified character if the character is a lower case letter.
Otherwise, the specified character is returned unchanged.
| value | the character to convert to upper case if needed. |
|
inlinestatic |
|
static |
The maximum radix available for conversion to and from strings.
|
static |
The maximum value that a signed char can take on.
|
static |
The minimum radix available for conversion to and from strings.
|
static |
The minimum value that a signed char can take on.
|
static |
The size of the primitive character in bits.