#107 JavaDoc for Specification
This commit is contained in:
		| @@ -18,14 +18,14 @@ import com.iluwatar.specification.selector.MovementSelector; | ||||
|  | ||||
| /** | ||||
|  *  | ||||
|  * The central idea of Specification pattern is to separate the statement of how to match a candidate, from the | ||||
|  * The central idea of the Specification pattern is to separate the statement of how to match a candidate, from the | ||||
|  * candidate object that it is matched against. As well as its usefulness in selection, it is also valuable for | ||||
|  * validation and for building to order. | ||||
|  *  | ||||
|  * <p> | ||||
|  * In this example we have a pool of creatures with different properties. We then have defined separate selection | ||||
|  * rules (Specifications) that we apply to the collection and as output receive only the creatures that match | ||||
|  * the selection criteria. | ||||
|  *  | ||||
|  * <p> | ||||
|  * http://martinfowler.com/apsupp/spec.pdf | ||||
|  * | ||||
|  */ | ||||
|   | ||||
| @@ -4,6 +4,11 @@ import org.junit.Test; | ||||
|  | ||||
| import com.iluwatar.specification.app.App; | ||||
|  | ||||
| /** | ||||
|  *  | ||||
|  * Application test | ||||
|  * | ||||
|  */ | ||||
| public class AppTest { | ||||
|  | ||||
| 	@Test | ||||
|   | ||||
		Reference in New Issue
	
	Block a user