java-design-patterns
java-design-patterns copied to clipboard
CRPT idiom
Implement Curiously Recurring Template Pattern (CRPT) idiom in Java. See the example at https://nuah.livejournal.com/328187.html
Acceptance criteria
- CRPT pattern implemented according to guidance at https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute
Hi @iluwatar, can I work on this issue?
Thanks for assigning me this issue. My implementation idea is based on the use of method chaining in a hierarchy of objects like in the link example
I've included a new example that was inspired by an example from Effective Java. These examples can be found in the space and fight packages respectively. Please let me know if you prefer to keep both examples or just one of them.
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.