|
||||||||||
| 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.ReferenceString
| 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 | |
ReferenceString(ConstantString mvs,
int s,
int len)
|
|
| Method Summary | |
char |
charAt(int index)
Returns the character at the specified index. |
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 start2)
|
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 ReferenceString(ConstantString mvs,
int s,
int len)
| Method Detail |
public char charAt(int index)
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)
equals in class ConstantStringo - the object to be compared
public int indexOf(char c,
int start2)
indexOf in class ConstantString
public void getChars(int srcstart,
int srcend,
char[] dest,
int deststart)
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 boolean isIntegral()
isIntegral in class ConstantStringpublic boolean isNumeric()
isNumeric in class ConstantStringpublic int length()
length in class ConstantStringpublic java.lang.String toString()
ConstantString
toString in class ConstantStringpublic int intValue()
ConstantString
intValue in class ConstantStringpublic java.math.BigDecimal getBigDecimal()
ConstantString
getBigDecimal in class ConstantStringpublic long longValue()
ConstantString
longValue in class ConstantString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||