JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
de.caff.generics
Interface Factory<T>
Type Parameters:
T
- the type to create
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface
Factory<T>
A factory knows how to create objects of a given type.
Author:
Rammi
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
T
create
()
Create a new object of type T.
Method Detail
create
T
create()
Create a new object of type T.
Returns:
new object
Throws:
FactoryError
- if the creation was not possible
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method