org.mmbase.bridge.util
Class BridgeCollections.UnmodifiableRelationList
java.lang.Object
org.mmbase.bridge.util.BridgeCollections.UnmodifiableBridgeList<Relation>
org.mmbase.bridge.util.BridgeCollections.UnmodifiableRelationList
- All Implemented Interfaces:
- Iterable<Relation>, Collection<Relation>, List<Relation>, BridgeList<Relation>, RelationList
- Enclosing class:
- BridgeCollections
static class BridgeCollections.UnmodifiableRelationList
- extends BridgeCollections.UnmodifiableBridgeList<Relation>
- implements RelationList
| Methods inherited from class org.mmbase.bridge.util.BridgeCollections.UnmodifiableBridgeList |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, getProperties, getProperty, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, setProperty, size, sort, sort, subList, toArray, toArray, toString |
| 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 |
BridgeCollections.UnmodifiableRelationList
BridgeCollections.UnmodifiableRelationList(RelationList relationList)
getRelation
public Relation getRelation(int index)
- Description copied from interface:
RelationList
- Returns the Relation at the indicated postion in the list
- Specified by:
getRelation in interface RelationList
- Parameters:
index - the position of the Relation to retrieve
- Returns:
- Relation at the indicated postion
relationIterator
public RelationIterator relationIterator()
- Description copied from interface:
RelationList
- Returns an type-specific iterator for this list.
- Specified by:
relationIterator in interface RelationList
- Returns:
- Relation iterator
subRelationList
public RelationList subRelationList(int fromIndex,
int toIndex)
- Description copied from interface:
RelationList
- Returns a sublist of this list.
- Specified by:
subRelationList in interface RelationList
- Parameters:
fromIndex - the position in the current list where the sublist starts (inclusive)toIndex - the position in the current list where the sublist ends (exclusive)
- Returns:
- sublist of this list
MMBase 2.0-SNAPSHOT - null