org.cubeengine.converter.converter
Class DoubleConverter
java.lang.Object
org.cubeengine.converter.converter.SimpleConverter<Double>
org.cubeengine.converter.converter.DoubleConverter
- All Implemented Interfaces:
- ClassedConverter<Double>, Converter<Double,Class<? extends Double>>
public class DoubleConverter
- extends SimpleConverter<Double>
A Converter for Double
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleConverter
public DoubleConverter()
toNode
public Node toNode(Double object)
throws ConversionException
- Description copied from class:
SimpleConverter
- Converts the object into a serializable Node
- Specified by:
toNode in class SimpleConverter<Double>
- Parameters:
object - the object to convert
- Returns:
- the converted object
- Throws:
ConversionException
fromNode
public Double fromNode(Node node)
throws ConversionException
- Description copied from class:
SimpleConverter
- Converts the node back into the original object
- Specified by:
fromNode in class SimpleConverter<Double>
- Parameters:
node - the node to convert
- Returns:
- the converted node
- Throws:
ConversionException
Copyright © 2013–2017. All rights reserved.