org.mmbase.bridge.implementation
Class BasicStringList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.mmbase.bridge.implementation.BasicList
                  extended byorg.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

Nested Class Summary
protected  class BasicStringList.BasicStringIterator
           
 
Nested classes inherited from class org.mmbase.bridge.implementation.BasicList
BasicList.BasicIterator
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Method Summary
 String getString(int index)
          Returns the string at the indicated postion in the list
 StringIterator stringIterator()
          Returns an type-specific iterator for this list.
protected  Object validate(Object o)
           
 
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 class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.bridge.BridgeList
getProperty, setProperty, sort, sort
 
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
 

Method Detail

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