org.robokind.api.common.utils
Interface Factory<T>

Type Parameters:
T - Type created by the Factory

public interface Factory<T>

Defines a generic interface for a class that is able to create an object of a given type from an unparameterized call.

Author:
Matthew Stevenson

Method Summary
 T create()
          Creates and returns an object of the given type.
 

Method Detail

create

T create()
Creates and returns an object of the given type.

Returns:
a new object of the given type


Copyright © 2011. All Rights Reserved.