Package se.krka.kahlua.stdlib
Class StringLib.StringPointer
java.lang.Object
se.krka.kahlua.stdlib.StringLib.StringPointer
- Enclosing class:
- StringLib
public static class StringLib.StringPointer
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description StringPointer(java.lang.String original)
StringPointer(java.lang.String original, int index)
-
Method Summary
Modifier and Type Method Description int
compareTo(StringLib.StringPointer cmp, int len)
char
getChar()
char
getChar(int strIndex)
StringLib.StringPointer
getClone()
int
getIndex()
java.lang.String
getString()
int
getStringLength()
int
getStringLength(int i)
java.lang.String
getStringSubString(int len)
int
length()
char
postIncrString(int num)
int
postIncrStringI(int num)
int
preIncrStringI(int num)
void
setIndex(int ind)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StringPointer
public StringPointer(java.lang.String original) -
StringPointer
public StringPointer(java.lang.String original, int index)
-
-
Method Details
-
getClone
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int ind) -
getString
public java.lang.String getString() -
getStringLength
public int getStringLength() -
getStringLength
public int getStringLength(int i) -
getStringSubString
public java.lang.String getStringSubString(int len) -
getChar
public char getChar() -
getChar
public char getChar(int strIndex) -
length
public int length() -
postIncrStringI
public int postIncrStringI(int num) -
preIncrStringI
public int preIncrStringI(int num) -
postIncrString
public char postIncrString(int num) -
compareTo
-