public class JBossXSStringList extends Object implements org.apache.xerces.xs.StringList
| Constructor and Description |
|---|
JBossXSStringList() |
JBossXSStringList(Collection<String> col) |
JBossXSStringList(List<String> astrList) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int i,
Object o) |
boolean |
add(Object o) |
boolean |
addAll(Collection collection) |
boolean |
addAll(int i,
Collection collection) |
void |
addItem(String str) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
contains(String item)
Checks if the
GenericString item is a member
of this strList. |
boolean |
containsAll(Collection objects) |
Object |
get(int i) |
int |
getLength()
The number of
GenericStrings in the strList. |
int |
indexOf(Object o) |
boolean |
isEmpty() |
String |
item(int index)
Returns the
indexth item in the collection or
null if index is greater than or equal to
the number of objects in the strList. |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int i) |
Object |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection objects) |
boolean |
retainAll(Collection objects) |
Object |
set(int i,
Object o) |
int |
size() |
List |
subList(int i,
int j) |
Object[] |
toArray() |
Object[] |
toArray(Object[] objects) |
List<String> |
toList() |
String |
toString() |
public JBossXSStringList()
public JBossXSStringList(Collection<String> col)
public int getLength()
GenericStrings in the strList. The range of
valid child object indices is 0 to length-1 inclusive.getLength in interface org.apache.xerces.xs.StringListpublic boolean contains(String item)
GenericString item is a member
of this strList.contains in interface org.apache.xerces.xs.StringListitem - GenericString whose presence in this strList is
to be tested.GenericString
item.public String item(int index)
indexth item in the collection or
null if index is greater than or equal to
the number of objects in the strList. The index starts at 0.item in interface org.apache.xerces.xs.StringListindex - index into the collection.GenericString at the indexth
position in the StringList, or null if
the index specified is not valid.public void addItem(String str)
public int size()
size in interface Collectionsize in interface Listpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Listpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Listpublic Iterator iterator()
public Object[] toArray()
toArray in interface CollectiontoArray in interface Listpublic boolean add(Object o)
add in interface Collectionadd in interface Listpublic boolean remove(Object o)
remove in interface Collectionremove in interface Listpublic boolean containsAll(Collection objects)
containsAll in interface CollectioncontainsAll in interface Listpublic boolean addAll(Collection collection)
addAll in interface CollectionaddAll in interface Listpublic boolean addAll(int i,
Collection collection)
public boolean removeAll(Collection objects)
removeAll in interface CollectionremoveAll in interface Listpublic boolean retainAll(Collection objects)
retainAll in interface CollectionretainAll in interface Listpublic void clear()
clear in interface Collectionclear in interface Listpublic int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int i)
listIterator in interface ListCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.