com.frinika.contrib.boblang
Class GraphPointVector

java.lang.Object
  extended by com.frinika.contrib.boblang.GraphPointVector

public class GraphPointVector
extends java.lang.Object

Class to store an arbitrary number of graph points in a vector and provide fifo access to its elements


Constructor Summary
GraphPointVector()
          Constructor to create the vector and initialise attributes
 
Method Summary
 void addPoint(GraphPoint p)
          Add a point (GraphPoint object) to the end of the vector
 GraphPoint getFirstPoint()
          Get the first element (GraphPoint object) from the vector
 GraphPoint getNextPoint()
          Get the next element (GraphPoint object) from the vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphPointVector

public GraphPointVector()
Constructor to create the vector and initialise attributes

Method Detail

addPoint

public void addPoint(GraphPoint p)
Add a point (GraphPoint object) to the end of the vector


getFirstPoint

public GraphPoint getFirstPoint()
Get the first element (GraphPoint object) from the vector


getNextPoint

public GraphPoint getNextPoint()
Get the next element (GraphPoint object) from the vector