|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.json.simple.ItemList
public class ItemList
�����÷ָ����ֿ���һ��item.�ָ�������һ����һ��item.ÿ��item���߲����ǿհ�. ���磺 |a:b:c| => |a|,|b|,|c| |:| => ||,|| |a:| => |a|,||
Constructor Summary | |
---|---|
ItemList()
|
|
ItemList(String s)
|
|
ItemList(String s,
String sp,
boolean isMultiToken)
|
Method Summary | |
---|---|
void |
add(int i,
String item)
���뵥��item. |
void |
add(String item)
���뵥��item. |
void |
addAll(ItemList list)
��һ��item. |
void |
addAll(String s)
��һ��item. |
void |
addAll(String s,
String sp)
��һ��item. |
void |
addAll(String s,
String sp,
boolean isMultiToken)
|
void |
clear()
�������item. |
String |
get(int i)
��õ�i��item. |
String[] |
getArray()
|
List<String> |
getItems()
|
void |
reset()
��λ.������ݣ����ָ�����Ĭ��ֵ. |
int |
size()
���item��. |
void |
split(String s,
String sp,
List<String> append)
|
void |
split(String s,
String sp,
List<String> append,
boolean isMultiToken)
|
String |
toString()
�÷ָ����ָ��ı�ʾ. |
String |
toString(String sp)
�÷ָ����ָ��ı�ʾ. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ItemList()
public ItemList(String s)
s
- �ָ���������һ���ַ�������public ItemList(String s, String sp, boolean isMultiToken)
s
- sp
- isMultiToken
- sp�Ƿ�Ϊ��ָ���Method Detail |
---|
public List<String> getItems()
public String[] getArray()
public void split(String s, String sp, List<String> append, boolean isMultiToken)
public void split(String s, String sp, List<String> append)
public void add(int i, String item)
i
- �����λ��(֮ǰ)item
- public void add(String item)
item
- public void addAll(ItemList list)
list
- �����listpublic void addAll(String s)
s
- �ָ���������һ���ַ�������public void addAll(String s, String sp)
s
- �ָ���������һ���ַ�������sp
- �ָ���public void addAll(String s, String sp, boolean isMultiToken)
public String get(int i)
i
-
public int size()
public String toString()
toString
in class Object
public String toString(String sp)
sp
- ����ø÷ָ����ָ�.
public void clear()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |