|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.lang.StringList
public final class StringList
a Simple single direction string list
Constructor Summary | |
---|---|
StringList()
constructor of the class |
|
StringList(String str)
constructor of the class |
|
StringList(String str1,
String str2)
constructor of the class, initalize with 2 values |
Method Summary | |
---|---|
void |
add(String str)
adds a element to the list |
void |
add(String str,
char delimeter)
|
String |
current()
|
char |
delimeter()
|
boolean |
hasNext()
|
boolean |
hasNextNext()
|
String |
next()
|
StringList |
reset()
reset the String List |
int |
size()
|
String[] |
toArray()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringList()
public StringList(String str)
str
- String Elementpublic StringList(String str1, String str2)
str1
- str2
- Method Detail |
---|
public boolean hasNext()
public boolean hasNextNext()
public String next()
public char delimeter()
public String current()
public StringList reset()
public int size()
public void add(String str)
str
- String Element to addpublic void add(String str, char delimeter)
public String[] toArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |