com.levigo.util.base
Interface Factory<T,E extends Throwable>

Type Parameters:
T - the type of object that will be returned.
All Known Implementing Classes:
AnnotationInitializerFactory, NameBasedFactory, ToolkitBasedFactory

public interface Factory<T,E extends Throwable>

An object capable of creating an instance of type T.


Method Summary
 T create()
          Create an instance of T.
 

Method Detail

create

T create()
         throws E extends Throwable
Create an instance of T. Must never return null.

Returns:
Throws:
E extends Throwable


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.