public static class CellRevisionProviderDefault.ImmutableArcInstIterable extends java.lang.Object implements ImmutableArcInst.Iterable
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.
|
public boolean isEmpty()
isEmpty
in interface ImmutableArcInst.Iterable
public int size()
size
in interface ImmutableArcInst.Iterable
public ImmutableArcInst get(int index)
get
in interface ImmutableArcInst.Iterable
index
- index of the ImmutableArcInst to returnjava.lang.IndexOutOfBoundsException
- if the index is out of range
(index < 0 || index >= size())public java.util.Iterator<ImmutableArcInst> iterator()
iterator
in interface ImmutableArcInst.Iterable
iterator
in interface java.lang.Iterable<ImmutableArcInst>
public int searchByName(java.lang.String name)
searchByName
in interface ImmutableArcInst.Iterable
name
- the name to be searched.