ok. I just need to return a copy of Principal (PublicKey/PublicKeyHash)
within the Hibernate framework. I can do the copy manually within my
stuff for now - though maybe I could write a 'service class' within
jsdsi.util that'll take an Obj and return a copy of it.
Sean
Sameer Ajmani wrote:
>Not unless there's a very good reason to do so. Inheriting clone() is
>dangerous (returns a supertype where a subtype is expected), and so
>should be avoided. If a duplication method is needed, we can do it on
>a per-class basis.
>
>Sameer
>
>On Fri, 09 Jul 2004 23:21:29 +0100, Sean Radford
><sra...@ae...> wrote:
>
>
>>Hi,
>>
>>Just a thought... Should jsdsi.Obj be cloneable?
>>
>>Regards,
>>
>>Sean
>>
>>-------------------------------------------------------
>>This SF.Net email sponsored by Black Hat Briefings & Training.
>>Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>>digital self defense, top technical experts, no vendor pitches,
>>unmatched networking opportunities. Visit www.blackhat.com
>>_______________________________________________
>>Jsdsi-devel mailing list
>>Jsd...@li...
>>https://lists.sourceforge.net/lists/listinfo/jsdsi-devel
>>
>>
>>
>>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by Black Hat Briefings & Training.
>Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>digital self defense, top technical experts, no vendor pitches,
>unmatched networking opportunities. Visit www.blackhat.com
>_______________________________________________
>Jsdsi-devel mailing list
>Jsd...@li...
>https://lists.sourceforge.net/lists/listinfo/jsdsi-devel
>
>
>
|