The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Thanks

Posted by Bugger on November 15, 2000 at 9:19 AM

Thank you Jody, I appreciate your help : )

> Not knowing the structure of CourseList, and assuming that cVec
> is an array of Course objects, the following should help.

> public CourList (Vector cVec) {
> for (Enumeration e = cVec.elements() ; e.hasMoreElements() ;)
> {
> someMethodToAddACourseToCourList( (Course) e.nextElement());
> }
> }

> Regards,

> Jody






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us