Marker interface pattern: Difference between revisions

Content deleted Content added
Add example section + code block
Move item from 'See also' to 'Further reading' section
Line 34:
==See also==
*[[Design marker]]s for an expansion of this pattern.
 
*Joshua Bloch, "Effective Java (Second edition)," Item 37: Use marker interfaces to define types, page 179 (Third edition: Item 41, page 191).
== Further reading ==
''Effective Java''<ref>{{Cite book |last=Bloch |first=Joshua |url=https://www.worldcat.org/oclc/1018432176 |title=Effective Java |date=2018 |isbn=978-0-13-468599-1 |edition=Third |___location=Boston |oclc=1018432176}}</ref> by [[Joshua Bloch]].
 
==References==