Marker interface pattern: Difference between revisions

Content deleted Content added
No edit summary
m Reverted edits by 119.151.20.21 (talk) (HG)
Line 1:
{{Refimprove|date=June 2013}}
The '''marker interface pattern''' is a my pattern [[design pattern (computer science)|design pattern]] in [[computer science]], used with languages that provide run-time type information about objects. It provides a means to associate metadata with a class where the language does not have explicit support for such metadata.
 
To use this pattern, a [[Class (computer science)|class]] implements a '''marker interface'''<ref name="EffectiveJava">