net.sf.ezmorph.array

Class ShortArrayMorpher

public final class ShortArrayMorpher extends AbstractArrayMorpher

Morphs an array to a short[].

Author: Andres Almiray

Constructor Summary
ShortArrayMorpher()
ShortArrayMorpher(short defaultValue)
Method Summary
booleanequals(Object obj)
shortgetDefaultValue()
Returns the default value for this Morpher.
inthashCode()
Objectmorph(Object array)
ClassmorphsTo()

Constructor Detail

ShortArrayMorpher

public ShortArrayMorpher()

ShortArrayMorpher

public ShortArrayMorpher(short defaultValue)

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

Method Detail

equals

public boolean equals(Object obj)

getDefaultValue

public short 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.