![]() |
Sponsored Link •
|
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:
Suppose you are going to add an element e1 in a vector v1 and before adding you want to know if e1 already exists in the vector v1 then you can use contains() method of vector as if ( v1.contains ( e1 ) ) { Replies:
|
Sponsored Links
|