public class BasicRelationList extends AbstractNodeList<Relation> implements RelationList
| Modifier and Type | Class and Description |
|---|---|
protected class |
BasicRelationList.BasicRelationIterator |
BasicList.BasicIterator, BasicList.ObjectComparator, BasicList.WrappedComparatorcloud, nodeManagermodCount| Constructor and Description |
|---|
BasicRelationList() |
BasicRelationList(Collection c,
Cloud cloud) |
BasicRelationList(Collection 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.
|
RelationList |
subRelationList(int fromIndex,
int toIndex)
Returns a sublist of this list.
|
castToNodeManager, convert, convertMMObjectNodetoBridgeNode, convertWithBridgeToNode, getNodeadd, convert, convertAll, get, getProperties, getProperty, remove, set, setProperty, size, sort, sort, subList, toArrayadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRangeaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetProperties, getProperty, setProperty, sort, sort, subListadd, 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 BasicRelationList()
public BasicRelationList(Collection c, Cloud cloud)
public BasicRelationList(Collection c, NodeManager nodemanager)
public Relation getRelation(int index)
RelationListgetRelation in interface RelationListindex - the position of the Relation to retrievepublic RelationList 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}