|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maverickdbms.basic.ConstantString
org.maverickdbms.basic.string.JavaString
| Field Summary |
| Fields inherited from class org.maverickdbms.basic.ConstantString |
AM, EMPTY, FM, IM, LINE_SEPARATOR, MAX_RAISE_DELIMITER, MIN_RAISE_DELIMITER, ONE, RETURN_ELSE, RETURN_SUCCESS, RM, SM, SPACE, TM, VM, ZERO |
| Constructor Summary | |
JavaString(char c)
|
|
JavaString(java.lang.String s)
|
|
| Method Summary | |
char |
charAt(int index)
Gets the char at the given position. |
int |
compareTo(ConstantString a)
Compares two strings lexicographically |
boolean |
equals(java.lang.Object o)
Determines whether the object is equal to the string |
java.math.BigDecimal |
getBigDecimal()
Returns a BigDecimal representation of the string. |
void |
getChars(int srcstart,
int srcend,
char[] dest,
int deststart)
Copies the specified index from the string into the destination character array. |
double |
getDouble()
Returns a double representation of the string. |
int |
indexOf(char c,
int start)
|
int |
intValue()
Returns the integer value of the string |
boolean |
isIntegral()
|
boolean |
isNumeric()
|
int |
length()
Returns the length of the string |
long |
longValue()
Returns the integer value of the string |
java.lang.String |
toString()
The standard toString method for the object |
| Methods inherited from class org.maverickdbms.basic.ConstantString |
ALPHA, AND, ASCII, CAT, CHANGE, CHAR, compareTo, CONVERT, COUNT, DCOUNT, DELETE, DOWNCASE, DQUOTE, DTX, EBCDIC, EQ, EREPLACE, eval, EXTRACT, FIELD, findLength, findPosition, GE, getReferenceString, GT, INDEX, INSERT, LE, LEN, LOCATEI, LOCATEP, LOWER, LT, MATCH, NOT, NUM, OR, RAISE, REPLACE, SELECT, SEQ, SPACE, SQUOTE, STR, SUM, TRIM, UPCASE, XTD |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JavaString(char c)
public JavaString(java.lang.String s)
| Method Detail |
public char charAt(int index)
ConstantString
charAt in class ConstantStringindex - position of char within the string
public int compareTo(ConstantString a)
ConstantString
compareTo in class ConstantStringa - string to compare
public boolean equals(java.lang.Object o)
ConstantString
equals in class ConstantStringo - the object to be comparedpublic java.math.BigDecimal getBigDecimal()
ConstantString
getBigDecimal in class ConstantString
public int indexOf(char c,
int start)
indexOf in class ConstantStringpublic int intValue()
ConstantString
intValue in class ConstantStringpublic boolean isIntegral()
isIntegral in class ConstantStringpublic boolean isNumeric()
isNumeric in class ConstantString
public void getChars(int srcstart,
int srcend,
char[] dest,
int deststart)
ConstantString
getChars in class ConstantStringsrcstart - starting postion in the source string.srcend - ending index + 1 of characters to be copied from source.dest - the destination character arraydeststart - starting position in the destination array.public double getDouble()
ConstantString
getDouble in class ConstantStringpublic int length()
ConstantString
length in class ConstantStringpublic long longValue()
ConstantString
longValue in class ConstantStringpublic java.lang.String toString()
ConstantString
toString in class ConstantString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||