issue #333 review changes

This commit is contained in:
Crossy147
2016-02-21 12:54:40 +01:00
parent 6ab9b36d59
commit cfd83b5753
3 changed files with 16 additions and 3 deletions

View File

@ -1,5 +1,18 @@
package com.iluwatar.factorykit;
/**
* Factory-kit is a creational pattern which defines a factory of immutable content
* with separated builder and factory interfaces to deal with the problem of
* creating one of the objects specified directly in the factory-kit instance.
*
* <p>
* In the given example {@link WeaponFactory} represents the factory-kit, that contains
* four {@link Builder}s for creating new objects of
* the classes implementing {@link Weapon} interface.
* <br>Each of them can be called with {@link WeaponFactory#create(WeaponType)} method, with
* an input representing an instance of {@link WeaponType} that needs to
* be mapped explicitly with desired class type in the factory instance.
*/
public class App {
/**
* Program entry point.