public class CollectionRelationList extends AbstractCollectionNodeList<Relation> implements RelationList
Relations, based on a Collection of Nodes| Modifier and Type | Class and Description |
|---|---|
protected class |
CollectionRelationList.BasicRelationIterator |
AbstractBridgeList.BasicIteratorcloud, nodeManager, wrappedCollectionmodCount| Constructor and Description |
|---|
CollectionRelationList(Collection<? extends Node> c,
Cloud cloud) |
CollectionRelationList(Collection<? extends Node> c,
NodeManager nodeManager) |
| Modifier and Type | Method and Description |
|---|---|
Relation |
getRelation(int index)
Returns the Relation at the indicated postion in the list
|
RelationIterator |
relationIterator()
Returns an type-specific iterator for this list.
|
CollectionRelationList |
subList(int fromIndex,
int toIndex) |
CollectionRelationList |
subRelationList(int fromIndex,
int toIndex)
Returns a sublist of this list.
|
add, convert, get, getCloud, getCollection, remove, set, sizegetProperties, getProperty, setProperty, sort, sortadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRangeaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetProperties, getProperty, setProperty, sort, sortadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic CollectionRelationList(Collection<? extends Node> c, NodeManager nodeManager)
public CollectionRelationList(Collection<? extends Node> c, Cloud cloud)
public Relation getRelation(int index)
RelationListgetRelation in interface RelationListindex - the position of the Relation to retrievepublic CollectionRelationList subList(int fromIndex, int toIndex)
subList in interface List<Relation>subList in interface BridgeList<Relation>subList in class AbstractBridgeList<Relation>public CollectionRelationList subRelationList(int fromIndex, int toIndex)
RelationListsubRelationList in interface RelationListfromIndex - the position in the current list where the sublist starts (inclusive)toIndex - the position in the current list where the sublist ends (exclusive)public RelationIterator relationIterator()
RelationListrelationIterator in interface RelationListMMBase 1.9-SNAPSHOT - ${javadoctimestamp}