org.mmbase.bridge.implementation
Class BasicStringList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.mmbase.bridge.implementation.BasicList
org.mmbase.bridge.implementation.BasicStringList
- All Implemented Interfaces:
- BridgeList, Cloneable, Collection, List, RandomAccess, Serializable, StringList
- public class BasicStringList
- extends BasicList
- implements StringList
A list of Strings
- Version:
- $Id: BasicStringList.java,v 1.11 2005/12/10 14:31:46 michiel Exp $
- Author:
- Pierre van Rooden
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.implementation.BasicList |
add, add, contains, convert, convertAll, get, getProperty, remove, removeAll, set, setProperty, sort, sort, toArray |
| Methods inherited from class java.util.ArrayList |
addAll, addAll, clear, clone, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, removeRange, size, toArray, trimToSize |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
validate
protected Object validate(Object o)
throws ClassCastException
- Overrides:
validate in class BasicList
- Throws:
ClassCastException
getString
public String getString(int index)
- Description copied from interface:
StringList
- Returns the string at the indicated postion in the list
- Specified by:
getString in interface StringList
- Parameters:
index - the position of the string to retrieve
- Returns:
- string at the indicated postion
stringIterator
public StringIterator stringIterator()
- Description copied from interface:
StringList
- Returns an type-specific iterator for this list.
- Specified by:
stringIterator in interface StringList
- Returns:
- String iterator
MMBase build 1.8.1.20060716