org.mmbase.bridge.implementation
Class BasicModuleList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.mmbase.bridge.implementation.BasicList
org.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
| 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
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