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
GenericString s in the strList. |
int |
indexOf(Object o) |
boolean |
isEmpty() |
String |
item(int index)
Returns the
index th 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()
GenericString
s in the strList. The range of
valid child object indices is 0 to length-1
inclusive.getLength
in interface org.apache.xerces.xs.StringList
public boolean contains(String item)
GenericString
item
is a member
of this strList.contains
in interface org.apache.xerces.xs.StringList
item
- GenericString
whose presence in this strList is
to be tested.GenericString
item
.public String item(int index)
index
th 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.StringList
index
- index into the collection.GenericString
at the index
th
position in the StringList
, or null
if
the index specified is not valid.public void addItem(String str)
public int size()
size
in interface Collection
size
in interface List
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
public boolean contains(Object o)
contains
in interface Collection
contains
in interface List
public Iterator iterator()
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
public boolean add(Object o)
add
in interface Collection
add
in interface List
public boolean remove(Object o)
remove
in interface Collection
remove
in interface List
public boolean containsAll(Collection objects)
containsAll
in interface Collection
containsAll
in interface List
public boolean addAll(Collection collection)
addAll
in interface Collection
addAll
in interface List
public boolean addAll(int i, Collection collection)
public boolean removeAll(Collection objects)
removeAll
in interface Collection
removeAll
in interface List
public boolean retainAll(Collection objects)
retainAll
in interface Collection
retainAll
in interface List
public void clear()
clear
in interface Collection
clear
in interface List
public int lastIndexOf(Object o)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int i)
listIterator
in interface List
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.