Search the web
Sign In
New User? Sign Up
novajug · Northern Virginia Java Users Group (NOVA
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
What's the point??   Message List  
Reply | Forward Message #13413 of 13731 |
Re: [novajug] Re: What's the point??

if only that were true...

On Fri Jul 3 18:31 , David Medinets <david.medinets@...> sent:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Fri, Jul 3, 2009 at 5:30 PM, David Bock<dbock@...> wrote:
>
>> Code that doesn't matter becomes garbage collected by the forces of time.
>
>
>
>This quote deserves to live forever!
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>





Sat Jul 4, 2009 1:52 am

SAV_3096
Offline Offline
Send Email Send Email

Forward
Message #13413 of 13731 |
Expand Messages Author Sort by Date

I'm trying to understand why someone would want to create an empty interface (ex: java.io.Serializable). What does the Java API Documentation mean when it...
stoicllc
Offline Send Email
Jun 12, 2009
7:07 pm

Serializable is a "marker interface<http://en.wikipedia.org/wiki/Marker_interface_pattern>". The methods you refer to are usually implemented when your class...
Rich Cariens
richcariens
Offline Send Email
Jun 12, 2009
7:11 pm

Correction: Externalizable does not require the methods you describe....
Rich Cariens
richcariens
Offline Send Email
Jun 12, 2009
7:14 pm

Hi Steve, Serializable is a "marker" interface - as such it gives permission for instances of marked classes to use the built-in serialization process baked ...
Michael Aube
feelthe4c
Offline Send Email
Jun 12, 2009
7:48 pm

Thanks...the mention of "marker" interface helps. I don't know if I've got the concept entirely, but I think one would implement a marker interface like...
stoicllc
Offline Send Email
Jun 13, 2009
6:35 pm

Steve - Check out the example class at: http://gist.github.com/129520 I try to show that if you implement Cloneable, but don't override clone(), you may not...
Keith R. Bennett
krbennettmd
Offline Send Email
Jun 14, 2009
2:29 am

Steve - I cleaned the file up a little, renamed it CloneTestA.java, and added an example with the probable desired behavior, called CloneTestB.java. They are...
Keith R. Bennett
krbennettmd
Offline Send Email
Jun 14, 2009
10:09 pm

Keith, Thanks for the example. Steve...
stoicllc
Offline Send Email
Jun 15, 2009
2:01 pm

you don't have to implement clone() method, in many cases, if your object's shallow, e.g....
jawabean
Offline Send Email
Jun 15, 2009
5:53 pm

... Shallow? Please don't start a flame war by insulting someone's objects. That's low......
David Medinets
medined
Offline Send Email
Jun 15, 2009
6:29 pm

Sorry I didn't respond sooner - just catching up on about a month's worth of emails. The notion of a 'marker' interface is somewhat retired in Java now that we...
David Bock
javaguy_98
Offline Send Email
Jul 3, 2009
9:31 pm

... This quote deserves to live forever!...
David Medinets
medined
Offline Send Email
Jul 4, 2009
1:31 am

... i doubt that annotations would make it easier to understand the "marker" concept. they're nice feature, but it's a new thing to understand for a newbie,...
jawabean
Offline Send Email
Jul 4, 2009
3:33 pm

I would much rather see @Serializable than implements Serializable and have to explain because of historical reasons, why it is an interface. Although I agree...
David Bock
javaguy_98
Offline Send Email
Jul 11, 2009
6:54 pm

You can think of the Serializble interface as a class level annotation. I is a way to add meta-data to a class without adding any methods or attributes. ...
clay_shooter
Offline Send Email
Jun 13, 2009
11:38 am

if only that were true......
steve-vago@...
SAV_3096
Offline Send Email
Jul 4, 2009
1:53 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help