sandmark.util.controlflowgraph
Class Graph.NodeList
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--sandmark.util.controlflowgraph.Graph.NodeList
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable
- Enclosing class:
- Graph
- public class Graph.NodeList
- extends java.util.ArrayList
- implements java.util.List
- See Also:
- Serialized Form
Nested classes inherited from class java.util.AbstractList |
|
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clone, contains, ensureCapacity, get, isEmpty, remove, removeRange, set, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
add, addAll, addAll, contains, containsAll, equals, get, hashCode, isEmpty, listIterator, listIterator, remove, removeAll, retainAll, set, subList, toArray, toArray |
Graph.NodeList
Graph.NodeList()
addNode
boolean addNode(GraphNode gn)
removeNode
void removeNode(GraphNode gn)
size
public int size()
- Specified by:
size
in interface java.util.List
- Overrides:
size
in class java.util.ArrayList
clear
public void clear()
- Specified by:
clear
in interface java.util.List
- Overrides:
clear
in class java.util.ArrayList
add
public boolean add(java.lang.Object a)
- Specified by:
add
in interface java.util.List
- Overrides:
add
in class java.util.ArrayList
remove
public boolean remove(java.lang.Object a)
- Specified by:
remove
in interface java.util.List
- Overrides:
remove
in class java.util.AbstractCollection
indexOf
public int indexOf(java.lang.Object a)
- Specified by:
indexOf
in interface java.util.List
- Overrides:
indexOf
in class java.util.ArrayList
indexOf
public int indexOf(java.lang.Object a,
int index)
lastIndexOf
public int lastIndexOf(java.lang.Object a)
- Specified by:
lastIndexOf
in interface java.util.List
- Overrides:
lastIndexOf
in class java.util.ArrayList
lastIndexOf
public int lastIndexOf(java.lang.Object a,
int index)
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.util.List
- Overrides:
iterator
in class java.util.AbstractList