Thanx !! I was just wondering if there was special code into DCollection objects
By the way DCollection really extends the java.lang.Collection Le ven 11/10/2002 � 16:04, Edson Carlos Ericksson Richter a �crit : > I think that DCollection is an instance of Collection (Thomas, correct me if > I'm wrong). > > I work with DList, and I get my ArrayLists independent using something like: > > . > . > . > DList d = (DList) query.execute( ); > ArrayList a = new ArrayList( ); > a.addAll( d ); > . > . > . > > Or you can use java.util.Collections.copy to get job done. > > Best regards, > > Edson Richter > > > ----- Original Message ----- > From: "Kevin Viet" <[EMAIL PROTECTED]> > To: "OJB Users List" <[EMAIL PROTECTED]> > Sent: Friday, October 11, 2002 9:43 AM > Subject: DCollection > > > > Hello all:!! > > > > My question is about ODMG, the implementation of ODMG by OJB actually > > returns DCollection Objects when the api is queried to retrieve > > persistent objects. > > What does particularity of the DCollection interface? > > > > Actually I'm trying to implement a small interface on top of OJB.ODMG, > > but I want my interface to return Collection (no DCollection) > > What is the best way to do? > > What is the matter if I copy all objects that are in the DCollection > > into an ArrayList for example ? > > > > > > -- > > Kevin Viet <[EMAIL PROTECTED]> > > ActiVia Networks > > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > --- > Email foi verificado quanto a exist�ncia de virus antes de seu envio, e n�o > h� virus. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.401 / Virus Database: 226 - Release Date: 09/10/2002 > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Kevin Viet <[EMAIL PROTECTED]> ActiVia Networks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
