#107 JavaDoc for Specification

This commit is contained in:
Ilkka Seppala 2015-08-21 23:11:50 +03:00
parent 4bf2e3f16d
commit cec8e4f168
2 changed files with 8 additions and 3 deletions

View File

@ -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
*
*/

View File

@ -4,6 +4,11 @@ import org.junit.Test;
import com.iluwatar.specification.app.App;
/**
*
* Application test
*
*/
public class AppTest {
@Test