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:

Vectors

Posted by Matt Gerrans on November 22, 2001 at 2:50 PM


> > how to implement a vector in java?
> import java.util.Vector;
> Vector name = new Vector();

The above will work slightly better. Also, if you want to pull yourself into the new millennium, you might consider using List instead of Vector.

- mfg





Replies:

Sponsored Links



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