br.com.caelum.iogi.collections
Class ArrayInstantiator

java.lang.Object
  extended by br.com.caelum.iogi.collections.ArrayInstantiator
All Implemented Interfaces:
Instantiator<Object>

public class ArrayInstantiator
extends Object
implements Instantiator<Object>


Constructor Summary
ArrayInstantiator(Instantiator<Object> elementInstantiator)
           
 
Method Summary
 Object instantiate(Target<?> target, Parameters parameters)
           
 boolean isAbleToInstantiate(Target<?> target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayInstantiator

public ArrayInstantiator(Instantiator<Object> elementInstantiator)
Method Detail

isAbleToInstantiate

public boolean isAbleToInstantiate(Target<?> target)
Specified by:
isAbleToInstantiate in interface Instantiator<Object>

instantiate

public Object instantiate(Target<?> target,
                          Parameters parameters)
Specified by:
instantiate in interface Instantiator<Object>


Copyright © 2014. All Rights Reserved.