net.sf.ezmorph.array

Class ObjectArrayMorpher

public final class ObjectArrayMorpher extends AbstractArrayMorpher

Morphs an array to another array using a Morpher.

Author: Andres Almiray

Constructor Summary
ObjectArrayMorpher(Morpher morpher)
Creates a new ArrayMorpher which will use another Morpher for its inner type.
The inner morpher can not morph to an array.
Method Summary
booleanequals(Object obj)
inthashCode()
Objectmorph(Object array)
ClassmorphsTo()
booleansupports(Class clazz)

Constructor Detail

ObjectArrayMorpher

public ObjectArrayMorpher(Morpher morpher)
Creates a new ArrayMorpher which will use another Morpher for its inner type.
The inner morpher can not morph to an array. Multiple dimension arrays are already handled by this class.

Parameters: morpher the Morpher that will handle the array's inner type.

Method Detail

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

morph

public Object morph(Object array)

morphsTo

public Class morphsTo()

supports

public boolean supports(Class clazz)
Copyright © 2006-2011. All Rights Reserved.