All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sep.io.DataKeeper

java.lang.Object
   |
   +----sep.io.DataKeeper

public class DataKeeper
extends Object
This class stores and retrieves the data values that underlie a regular data set.

Bugs:

All methods should probably be protected (only accessible through RegularData.

The data should be able to hold everything, not only floats.


Constructor Index

 o DataKeeper()
 o DataKeeper(Object, int, String)

Method Index

 o equals(DataKeeper)
 o getData()
 o getLength()
 o getType()
 o read(DataInputStream, int, String)
Ask Joel if he knows how to do the runtime assignment of an array to an object of type Object
 o setData(float[])
 o toString()
Returns a string representation of the object.
 o write(DataOutputStream)

Constructors

 o DataKeeper
 public DataKeeper()
 o DataKeeper
 public DataKeeper(Object data,
                   int length,
                   String type)

Methods

 o read
 public void read(DataInputStream dinstr,
                  int length,
                  String type) throws IOException
Ask Joel if he knows how to do the runtime assignment of an array to an object of type Object

 o write
 public void write(DataOutputStream dout) throws IOException
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
 o equals
 public boolean equals(DataKeeper para)
 o getData
 public Object getData()
 o setData
 public void setData(float input[])
 o getLength
 public int getLength()
 o getType
 public String getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index