|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
byucc.jhdl.synth.graph.VertexVector
A simple class to hold a collection of Vertex. This class simply extends Vector and provides methods to add or get a Vertex without a cast.
| Field Summary |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
VertexVector()
|
|
| Method Summary | |
void |
addVertex(Vertex v)
Adds a vertex to the end of this VertexVector |
boolean |
removeVertex(Vertex v)
Removes a vertex from this VertexVector |
Vertex |
vertexAt(int index)
Returns the vertex at the specified index. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public VertexVector()
| Method Detail |
public void addVertex(Vertex v)
v - the new vertex to be added.Vector.addElement(java.lang.Object)public boolean removeVertex(Vertex v)
v - the vertex to be removed.
Vector.removeElement(java.lang.Object)public Vertex vertexAt(int index)
index - an index into this VertexVector
Vector.elementAt(int)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||