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.
-
DataKeeper()
-
-
DataKeeper(Object, int, String)
-
-
equals(DataKeeper)
-
-
getData()
-
-
getLength()
-
-
getType()
-
-
read(DataInputStream, int, String)
- Ask Joel if he knows how to do the runtime assignment of an array
to an object of type Object
-
setData(float[])
-
-
toString()
- Returns a string representation of the object.
-
write(DataOutputStream)
-
DataKeeper
public DataKeeper()
DataKeeper
public DataKeeper(Object data,
int length,
String type)
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
write
public void write(DataOutputStream dout) throws IOException
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
equals
public boolean equals(DataKeeper para)
getData
public Object getData()
setData
public void setData(float input[])
getLength
public int getLength()
getType
public String getType()
All Packages Class Hierarchy This Package Previous Next Index