Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] CLONE
- From: tsmets@xxxxxxxxxx (Thomas SMETS)
- Subject: [Advanced-java] CLONE
- Date: Wed, 30 Jan 2002 16:40:22 +0100
You mentionned that you "Message" is not an Object. It's therefore an interface or a primitive type. Now let suppose your interface extends the java.lang.Cloneable interface Shouldn't that help ? Thomas, -- Thomas SMETS rue J. Wytsmanstraat 62 1050 Brussel - Bruxelles yahoo-id : smetsthomas ----- Original Message ----- From: "diya prakash" <diya7874@xxxxxxxxx> To: <advanced-java@xxxxxxxxxxxxxxxx> Sent: Tuesday, January 29, 2002 11:52 AM Subject: [Advanced-java] CLONE > Hello, > > I have what seems like a simple java question!!!! > > I have an interface Message and i have something like > > Message msg; > > I need to clone this msg variable!!!! I dont know how > to acheive this as msg is not an object. > > Kindly help me. > thank you, > Ramya > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com > _______________________________________________ > Advanced-java mailing list > Advanced-java@xxxxxxxxxxxxxxxxxxxxxx > http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java >
- References:
- [Advanced-java] CLONE
- From: diya prakash
- [Advanced-java] CLONE
- Prev by Date: [Advanced-java] Remote modal JDialog
- Next by Date: [Advanced-java] Ordered sets?
- Previous by thread: [Advanced-java] CLONE
- Next by thread: [Advanced-java] CLONE
- Index(es):