net.sf.ezmorph.array

Class DoubleArrayMorpher

public final class DoubleArrayMorpher extends AbstractArrayMorpher

Morphs an array to a double[].

Author: Andres Almiray

Constructor Summary
DoubleArrayMorpher()
DoubleArrayMorpher(double defaultValue)
Method Summary
booleanequals(Object obj)
doublegetDefaultValue()
Returns the default value for this Morpher.
inthashCode()
Objectmorph(Object array)
ClassmorphsTo()

Constructor Detail

DoubleArrayMorpher

public DoubleArrayMorpher()

DoubleArrayMorpher

public DoubleArrayMorpher(double defaultValue)

Parameters: defaultValue return value if the value to be morphed is null

Method Detail

equals

public boolean equals(Object obj)

getDefaultValue

public double getDefaultValue()
Returns the default value for this Morpher.

hashCode

public int hashCode()

morph

public Object morph(Object array)

morphsTo

public Class morphsTo()
Copyright © 2006-2011. All Rights Reserved.