org.mmbase.bridge
Interface RelationList

All Superinterfaces:
BridgeList<Relation>, Collection<Relation>, Iterable<Relation>, List<Relation>
All Known Implementing Classes:
BasicRelationList, BridgeCollections.EmptyRelationList, BridgeCollections.UnmodifiableRelationList, CollectionRelationList

public interface RelationList
extends BridgeList<Relation>

A list of Relations

Version:
$Id: RelationList.java 41186 2010-02-26 17:54:31Z michiel $
Author:
Pierre van Rooden

Method Summary
 Relation getRelation(int index)
          Returns the Relation at the indicated postion in the list
 RelationIterator relationIterator()
          Returns an type-specific iterator for this list.
 RelationList subRelationList(int fromIndex, int toIndex)
          Returns a sublist of this list.
 
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
 

Method Detail

getRelation

Relation getRelation(int index)
Returns the Relation at the indicated postion in the list

Parameters:
index - the position of the Relation to retrieve
Returns:
Relation at the indicated postion

relationIterator

RelationIterator relationIterator()
Returns an type-specific iterator for this list.

Returns:
Relation iterator

subRelationList

RelationList subRelationList(int fromIndex,
                             int toIndex)
Returns a sublist of this list.

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