Do something with all elements of a Vector: Vector V = new Vector; : : put stuff in V : V.addElement( ) : while( e.hasMoreElements() ) { : : do something with e.nextElement() : : }
Do something with all elements of a Vector:
Vector V = new Vector;
: : put stuff in V : V.addElement( ) :
:
put stuff in V
: V.addElement( )
while( e.hasMoreElements() )
{
do something with e.nextElement()
}