public abstract class Data extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
LogManager |
mLogger
The LogManager object which is used to log all the messages.
|
String |
mLogMsg
The String which stores the message to be stored.
|
Constructor and Description |
---|
Data()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
setToString(Set s,
String delim)
A small helper method that displays the contents of a Set in a String.
|
abstract String |
toString()
Returns the String version of the data object, which is in human readable
form.
|
String |
vectorToString(String heading,
Vector vector)
It converts the contents of the Vector to a String and returns it.
|
public transient LogManager mLogger
public transient String mLogMsg
public abstract String toString()
public String vectorToString(String heading, Vector vector)
heading
- The heading you want to give
to the text which is printedvector
- The Vector
whose
elements you want to print