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