Forums Register Login

Marker Interface

+Pie Number of slices to send: Send
Hi,

I have doubt in the marker interface.
What is marker interface? If the interface is not having any methods, then it said to be marker inetface?. What is advantage of using marker interface?
+Pie Number of slices to send: Send
Try this link:

Click here
+Pie Number of slices to send: Send
That link is related to the performance of list iteration, and doesn't seem to be directly pertinent to the concept of a "marker interface".

I recommend the following:
What is a "marker" interface?
Marker Interface pattern
c2.com - Marker Interface
experts.about.com - Marker Interfaces
The Purpose of the Marker Interface
Maximize your Design ROI with Marker Interfaces and JavaDoc

I also recommend that when feeling the urge to ask "what is a...?" that your first response should be to use a suitable search engine. Chances are good that someone has already published a very good definition of the term in question. You will save yourself the time of waiting for a response, and the time of others from repeating information that already exists elsewhere.

Good luck!
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1009 times.
Similar Threads
Marker Interface doubt
doubt about marker Interface
Marker interface
Is an empty interface (without any methods) is marker?
MarkerInterface
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:08:52.