avrora.gui
Class GraphEvents.MyVector

java.lang.Object
  extended byavrora.gui.GraphEvents.MyVector
Enclosing class:
GraphEvents

public class GraphEvents.MyVector
extends java.lang.Object

We don't want to store millions of Integer, but we still want an array that grows...so we define a MyVector class just for that


Constructor Summary
GraphEvents.MyVector()
           
 
Method Summary
 void add(int a)
           
 void addAll(GraphEvents.MyVector a)
           
 int get(int i)
           
 int getLast()
           
 void removeAllElements()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphEvents.MyVector

public GraphEvents.MyVector()
Method Detail

add

public void add(int a)

get

public int get(int i)

addAll

public void addAll(GraphEvents.MyVector a)

size

public int size()

getLast

public int getLast()

removeAllElements

public void removeAllElements()