org.mmbase.bridge.implementation
Class BasicModuleList

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.BasicModuleList
All Implemented Interfaces:
BridgeList, Cloneable, Collection, List, ModuleList, RandomAccess, Serializable

public class BasicModuleList
extends BasicList
implements ModuleList

A list of Modules

Version:
$Id: BasicModuleList.java,v 1.12 2005/01/30 16:46:36 nico Exp $
Author:
Pierre van Rooden
See Also:
Serialized Form

Nested Class Summary
protected  class BasicModuleList.BasicModuleIterator
           
 
Nested classes inherited from class org.mmbase.bridge.implementation.BasicList
BasicList.BasicIterator
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Method Summary
 Module getModule(int index)
          Returns the Module at the indicated postion in the list
 ModuleIterator moduleIterator()
          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

getModule

public Module getModule(int index)
Description copied from interface: ModuleList
Returns the Module at the indicated postion in the list

Specified by:
getModule in interface ModuleList
Parameters:
index - the position of the Module to retrieve
Returns:
Module at the indicated postion

moduleIterator

public ModuleIterator moduleIterator()
Description copied from interface: ModuleList
Returns an type-specific iterator for this list.

Specified by:
moduleIterator in interface ModuleList
Returns:
Module iterator


MMBase build 1.8.1.20060716