net.sf.ezmorph.array

Class IntArrayMorpher

public final class IntArrayMorpher extends AbstractArrayMorpher

Morphs an array to a int[].

Author: Andres Almiray

Constructor Summary
IntArrayMorpher()
IntArrayMorpher(int defaultValue)
Method Summary
booleanequals(Object obj)
intgetDefaultValue()
Returns the default value for this Morpher.
inthashCode()
Objectmorph(Object array)
ClassmorphsTo()

Constructor Detail

IntArrayMorpher

public IntArrayMorpher()

IntArrayMorpher

public IntArrayMorpher(int defaultValue)

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

Method Detail

equals

public boolean equals(Object obj)

getDefaultValue

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

hashCode

public int hashCode()

morph

public Object morph(Object array)

morphsTo

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