org.mmbase.bridge.implementation
Class BasicStringList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by org.mmbase.bridge.implementation.BasicList<String>
              extended by org.mmbase.bridge.implementation.BasicStringList
All Implemented Interfaces:
Serializable, Iterable<String>, Collection<String>, List<String>, RandomAccess, BridgeList<String>, StringList

public class BasicStringList
extends BasicList<String>
implements StringList

A list of Strings

Version:
$Id: BasicStringList.java 41943 2010-04-16 17:18:19Z michiel $
Author:
Pierre van Rooden
See Also:
Serialized Form

Nested Class Summary
protected  class BasicStringList.BasicStringIterator
           
 
Nested classes/interfaces inherited from class org.mmbase.bridge.implementation.BasicList
BasicList.BasicIterator
 
Field Summary
(package private) static StringList EMPTY
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BasicStringList()
           
BasicStringList(Collection<String> c)
           
 
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.
 
Methods inherited from class org.mmbase.bridge.implementation.BasicList
add, convert, convert, convertAll, get, getProperties, getProperty, remove, set, setProperty, size, sort, sort, subList, toArray
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.bridge.BridgeList
getProperties, getProperty, setProperty, sort, sort, subList
 
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, toArray, toArray
 

Field Detail

EMPTY

static final StringList EMPTY
Constructor Detail

BasicStringList

public BasicStringList()

BasicStringList

public BasicStringList(Collection<String> c)
Method Detail

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 2.0-SNAPSHOT - null