#include <String.h>
Public Member Functions | |
String () | |
String (char) | |
String (jchar) | |
String (const char *) | |
String (const jchar *, jint offset, jint length) | |
String (const bytearray &) | |
String (const array< jchar > &) | |
String (const String ©) | |
String (const UnicodeString ©) | |
virtual | ~String () |
String & | operator= (const String ©) |
String & | operator= (const UnicodeString ©) |
virtual jchar | charAt (jint index) const throw (IndexOutOfBoundsException) |
virtual jint | compareTo (const String &str) const throw () |
jint | compareToIgnoreCase (const String &str) const throw () |
String | concat (const String &str) const throw () |
bool | contains (const CharSequence &seq) const throw () |
bool | contentEquals (const CharSequence &seq) const throw () |
bool | endsWith (const String &suffix) const throw () |
virtual bool | equals (const Object *obj) const throw () |
bool | equals (const String &str) const throw () |
bool | equalsIgnoreCase (const String &str) const throw () |
virtual jint | hashCode () const throw () |
jint | indexOf (jint ch, jint fromIndex=0) const throw () |
jint | indexOf (const String &str, jint fromIndex=0) const throw () |
virtual jint | length () const throw () |
bool | startsWith (const String &prefix, jint offset=0) const throw () |
virtual CharSequence * | subSequence (jint beginIndex, jint endIndex) const throw (IndexOutOfBoundsException) |
String | substring (jint beginIndex) const throw (IndexOutOfBoundsException) |
String | substring (jint beginIndex, jint endIndex) const throw (IndexOutOfBoundsException) |
String | toLowerCase () const throw () |
String | toUpperCase () const throw () |
const array< jchar > & | toCharArray () const throw () |
virtual String | toString () const throw () |
UnicodeString | toUnicodeString () const throw () |
Static Public Member Functions | |
static String | valueOf (bool b) |
static String | valueOf (jchar c) |
static String | valueOf (jint i) |
static String | valueOf (jlong l) |
Friends | |
class | Character |
class | StringBuffer |
class | StringBuilder |
beecrypt::lang::String::String | ( | ) |
beecrypt::lang::String::String | ( | char | ) |
beecrypt::lang::String::String | ( | jchar | ) |
beecrypt::lang::String::String | ( | const char * | ) |
beecrypt::lang::String::String | ( | const jchar * | , | |
jint | offset, | |||
jint | length | |||
) |
beecrypt::lang::String::String | ( | const bytearray & | ) |
beecrypt::lang::String::String | ( | const array< jchar > & | ) |
beecrypt::lang::String::String | ( | const String & | copy | ) |
beecrypt::lang::String::String | ( | const UnicodeString & | copy | ) |
virtual beecrypt::lang::String::~String | ( | ) | [inline, virtual] |
virtual jchar beecrypt::lang::String::charAt | ( | jint | index | ) | const throw (IndexOutOfBoundsException) [virtual] |
Implements beecrypt::lang::CharSequence.
virtual jint beecrypt::lang::String::compareTo | ( | const String & | str | ) | const throw () [virtual] |
Implements beecrypt::lang::Comparable< String >.
jint beecrypt::lang::String::compareToIgnoreCase | ( | const String & | str | ) | const throw () |
bool beecrypt::lang::String::contains | ( | const CharSequence & | seq | ) | const throw () |
bool beecrypt::lang::String::contentEquals | ( | const CharSequence & | seq | ) | const throw () |
bool beecrypt::lang::String::endsWith | ( | const String & | suffix | ) | const throw () |
bool beecrypt::lang::String::equals | ( | const String & | str | ) | const throw () |
virtual bool beecrypt::lang::String::equals | ( | const Object * | obj | ) | const throw () [virtual] |
Reimplemented from beecrypt::lang::Object.
bool beecrypt::lang::String::equalsIgnoreCase | ( | const String & | str | ) | const throw () |
virtual jint beecrypt::lang::String::hashCode | ( | ) | const throw () [virtual] |
Reimplemented from beecrypt::lang::Object.
jint beecrypt::lang::String::indexOf | ( | const String & | str, | |
jint | fromIndex = 0 | |||
) | const throw () |
jint beecrypt::lang::String::indexOf | ( | jint | ch, | |
jint | fromIndex = 0 | |||
) | const throw () |
virtual jint beecrypt::lang::String::length | ( | ) | const throw () [virtual] |
Implements beecrypt::lang::CharSequence.
String& beecrypt::lang::String::operator= | ( | const UnicodeString & | copy | ) |
bool beecrypt::lang::String::startsWith | ( | const String & | prefix, | |
jint | offset = 0 | |||
) | const throw () |
virtual CharSequence* beecrypt::lang::String::subSequence | ( | jint | beginIndex, | |
jint | endIndex | |||
) | const throw (IndexOutOfBoundsException) [virtual] |
Implements beecrypt::lang::CharSequence.
String beecrypt::lang::String::substring | ( | jint | beginIndex, | |
jint | endIndex | |||
) | const throw (IndexOutOfBoundsException) |
String beecrypt::lang::String::substring | ( | jint | beginIndex | ) | const throw (IndexOutOfBoundsException) |
const array<jchar>& beecrypt::lang::String::toCharArray | ( | ) | const throw () |
String beecrypt::lang::String::toLowerCase | ( | ) | const throw () |
virtual String beecrypt::lang::String::toString | ( | ) | const throw () [virtual] |
Implements beecrypt::lang::CharSequence.
UnicodeString beecrypt::lang::String::toUnicodeString | ( | ) | const throw () |
String beecrypt::lang::String::toUpperCase | ( | ) | const throw () |
static String beecrypt::lang::String::valueOf | ( | jlong | l | ) | [static] |
static String beecrypt::lang::String::valueOf | ( | jint | i | ) | [static] |
static String beecrypt::lang::String::valueOf | ( | jchar | c | ) | [static] |
static String beecrypt::lang::String::valueOf | ( | bool | b | ) | [static] |
friend class Character [friend] |
friend class StringBuffer [friend] |
friend class StringBuilder [friend] |