Improve Property Javadoc

This commit is contained in:
Ilkka Seppala 2015-10-03 23:57:17 +03:00
parent 98aa28d94e
commit 40e378c1f3

View File

@ -4,12 +4,14 @@ import com.iluwatar.property.Character.Type;
/**
*
* Example of {@link Character} instantiation using the Property pattern (also known as Prototype inheritance).
* The Property pattern is also known as Prototype inheritance.
* <p>
* In prototype inheritance instead of classes, as opposite to Java class inheritance,
* objects are used to create another objects and object hierarchies. Hierarchies are created using prototype chain
* through delegation: every object has link to parent object. Any base (parent) object can be amended at runtime
* (by adding or removal of some property), and all child objects will be affected as result.
* <p>
* In this example we demonstrate {@link Character} instantiation using the Property pattern.
*
*/
public class App {