org.mbari.siam.moos.utils.node
Class DataQueue

java.lang.Object
  extended by org.mbari.siam.moos.utils.node.DataQueue

public class DataQueue
extends java.lang.Object


Constructor Summary
DataQueue(java.lang.String name, long startTime, DataDisplaySettings settings)
          Constructor
 
Method Summary
 void add(java.lang.Double xData, java.lang.Double yData)
          method adds the data to the end of the queue
 java.lang.Double[] get(int n)
          get the nth element in the queue
 void printData()
          method to print out the contents of the queue , use for debugging if necessary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataQueue

public DataQueue(java.lang.String name,
                 long startTime,
                 DataDisplaySettings settings)
Constructor

Method Detail

add

public void add(java.lang.Double xData,
                java.lang.Double yData)
method adds the data to the end of the queue


get

public java.lang.Double[] get(int n)
get the nth element in the queue


printData

public void printData()
method to print out the contents of the queue , use for debugging if necessary



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.