| java.lang.Object org.griphyn.cPlanner.classes.Data
All known Subclasses: org.griphyn.cPlanner.partitioner.graph.GraphNode, org.griphyn.cPlanner.namespace.Namespace, org.griphyn.cPlanner.classes.PlannerOptions, org.griphyn.cPlanner.classes.DagInfo, org.griphyn.cPlanner.classes.Profile, org.griphyn.cPlanner.classes.LRCResult, org.griphyn.cPlanner.classes.PlannerMetrics, org.griphyn.cPlanner.classes.ReplicaLocation, org.griphyn.cPlanner.classes.ReplicaStore, org.griphyn.cPlanner.classes.PCRelation, org.griphyn.cPlanner.classes.WorkflowMetrics, org.griphyn.cPlanner.classes.NameValue, org.griphyn.cPlanner.classes.PegasusFile, org.griphyn.cPlanner.classes.SubInfo, org.griphyn.cPlanner.partitioner.GraphNode, org.griphyn.cPlanner.partitioner.Partition, org.griphyn.cPlanner.classes.ADag, org.griphyn.cPlanner.classes.AuthenticateRequest,
Data | abstract public class Data implements Cloneable(Code) | | This is the container for all the Data classes.
author: Karan Vahi author: Gaurang Mehta version: $Revision: 50 $ |
Field Summary | |
public String | mLogMsg The String which stores the message to be stored. | public LogManager | mLogger The LogManager object which is used to log all the messages. |
Constructor Summary | |
public | Data() The default constructor. |
Method Summary | |
public String | setToString(Set s, String delim) A small helper method that displays the contents of a Set in a String.
Parameters: delim - The delimited between the members of the set. | abstract public String | toString() Returns the String version of the data object, which is in human readable
form. | public String | vectorToString(String heading, Vector vector) It converts the contents of the Vector to a String and returns it. |
mLogMsg | public String mLogMsg(Code) | | The String which stores the message to be stored.
|
Data | public Data()(Code) | | The default constructor.
|
setToString | public String setToString(Set s, String delim)(Code) | | A small helper method that displays the contents of a Set in a String.
Parameters: delim - The delimited between the members of the set. String |
toString | abstract public String toString()(Code) | | Returns the String version of the data object, which is in human readable
form.
|
vectorToString | public String vectorToString(String heading, Vector vector)(Code) | | It converts the contents of the Vector to a String and returns it.
For this to work , all the objects making up the vector should be having
a valid toString() method.
Parameters: heading - The heading you want to giveto the text which is printed Parameters: vector - The Vector whoseelements you want to print |
|
|