public static interface ImmutableArcInst.Iterable extends java.lang.Iterable<ImmutableArcInst>
Modifier and Type | Method and Description |
---|---|
ImmutableArcInst |
get(int index)
Returns the ImmutableArcInst at the specified position in this list.
|
boolean |
isEmpty()
Returns true if this list contains no ImmutableArcInsts.
|
java.util.Iterator<ImmutableArcInst> |
iterator() |
int |
searchByName(java.lang.String name)
Searches the arcs for the specified name using the binary
search algorithm.
|
int |
size()
Returns the number of ImmutableArcInsts in this list.
|
boolean isEmpty()
int size()
ImmutableArcInst get(int index)
index
- index of the ImmutableArcInst to returnjava.lang.IndexOutOfBoundsException
- if the index is out of range
(index < 0 || index >= size())java.util.Iterator<ImmutableArcInst> iterator()
iterator
in interface java.lang.Iterable<ImmutableArcInst>
int searchByName(java.lang.String name)
name
- the name to be searched.