Packageorg.spicefactory.lib.reflect.converter
Classpublic class IntConverter
ImplementsConverter

Converts int values.



Public Properties
 PropertyDefined by
  INSTANCE : IntConverter
[static]
IntConverter
Public Methods
 MethodDefined by
  
Creates a new Converter instance.
IntConverter
  
convert(value:*):*
Converts the specified value to the target type this Converter is implemented for.
IntConverter
Property detail
INSTANCEproperty
public static var INSTANCE:IntConverter
Constructor detail
IntConverter()constructor
public function IntConverter()

Creates a new Converter instance.

Method detail
convert()method
public function convert(value:*):*

Converts the specified value to the target type this Converter is implemented for. Implementations should return the value unchanged if it is already of the target type.

Parameters
value:* — the value to be converted

Returns
* — the converted value