File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
main/java/com/iluwatar/specification/app
test/java/com/iluwatar/specification/app Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1818
1919/**
2020 *
21- * The central idea of Specification pattern is to separate the statement of how to match a candidate, from the
21+ * The central idea of the Specification pattern is to separate the statement of how to match a candidate, from the
2222 * candidate object that it is matched against. As well as its usefulness in selection, it is also valuable for
2323 * validation and for building to order.
24- *
24+ * <p>
2525 * In this example we have a pool of creatures with different properties. We then have defined separate selection
2626 * rules (Specifications) that we apply to the collection and as output receive only the creatures that match
2727 * the selection criteria.
28- *
28+ * <p>
2929 * http://martinfowler.com/apsupp/spec.pdf
3030 *
3131 */
Original file line number Diff line number Diff line change 44
55import com .iluwatar .specification .app .App ;
66
7+ /**
8+ *
9+ * Application test
10+ *
11+ */
712public class AppTest {
813
914 @ Test
You can’t perform that action at this time.
0 commit comments