org.omnaest.utils.structure.element.factory
Interface FactoryWithArguments<E,A>

All Superinterfaces:
Factory<E>

public interface FactoryWithArguments<E,A>
extends Factory<E>

Parameterized alternative to the Factory which provides a newInstance(Object...)

Author:
Omnaest
See Also:
newInstance(Object...)

Method Summary
 E newInstance(A... arguments)
          Returns a new element instance for the given parameters
 
Methods inherited from interface org.omnaest.utils.structure.element.factory.Factory
newInstance
 

Method Detail

newInstance

E newInstance(A... arguments)
Returns a new element instance for the given parameters

Parameters:
arguments -
Returns:
new instance


Copyright © 2013. All Rights Reserved.