|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an SCF-compatible interface for csStringArray.
Method Summary | |
void |
deleteAll()
Delete all strings in array. |
boolean |
deleteIndex(int n)
Delete Nth string in the array. |
int |
find(java.lang.String value)
Find a string, case-sensitive. |
int |
findCaseInsensitive(java.lang.String value)
Find a string, case-insensitive. |
int |
findSortedKey(java.lang.String value)
Find index of a string in a pre-sorted string array. |
java.lang.String |
get(int n)
Get Nth string in vector. |
boolean |
insert(int n,
java.lang.String value)
Insert a string before Nth string in the array. |
int |
length()
Query array length. |
java.lang.String |
pop()
Pop a string from the top of stack. |
void |
push(java.lang.String value)
Push a string onto the stack. |
void |
sort()
Sort the string array. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public void deleteAll()
public boolean deleteIndex(int n)
n
-
public int find(java.lang.String value)
value
-
public int findCaseInsensitive(java.lang.String value)
value
-
public int findSortedKey(java.lang.String value)
value
-
public java.lang.String get(int n)
n
-
public boolean insert(int n, java.lang.String value)
n
- value
-
public int length()
public java.lang.String pop()
public void push(java.lang.String value)
value
- public void sort()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |