aspose file tools*
The moose likes Beginning Java and the fly likes Marker Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Marker Interface" Watch "Marker Interface" New topic
Author

Marker Interface

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
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?
Arun Kumarr
Ranch Hand

Joined: May 16, 2005
Posts: 513

Try this link:

Click here


If you are not laughing at yourself, then you just didn't get the joke.
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

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!
 
Don't get me started about those stupid light bulbs.
 
subject: Marker Interface