|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.property.DoubleFactory
public class DoubleFactory
Factory for serializing and deserializing Double objects
| Constructor Summary | |
|---|---|
DoubleFactory()
|
|
| Method Summary | |
|---|---|
java.lang.String |
exportToString(java.lang.Double type,
Graph g)
Create a string representing the contents of this object. |
java.lang.Double |
importFromString(java.lang.String data,
Graph g)
Create an instance of this type from a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleFactory()
| Method Detail |
|---|
public java.lang.Double importFromString(java.lang.String data,
Graph g)
PropertyValueFactory
importFromString in interface PropertyValueFactory<java.lang.Double>data - string containing the data used to create the objectg - graph context of the string
public java.lang.String exportToString(java.lang.Double type,
Graph g)
PropertyValueFactory
exportToString in interface PropertyValueFactory<java.lang.Double>type - object to be serializedg - graph context of the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||