= #JxnPortable\docs\programmer_examples\UsingJavaAPI_3_Vector.jxn

v = @Vector()  ! <- @Vector() stands for "new Vector()" in Java
 = [] (java.util.Vector)
v.add( "abc" )
 = true (boolean)
v + @Double(2.)  ! <- abbreviation of v.add( @Double(2.) )
 = true (boolean)
v + { 3., 5., 7. }
 = true (boolean)
v + "xyz"  ! <- maps to v.add( "xyz" ): adds "xyz" to Vector v
 = true (boolean)
v
 = [abc, 2.0, [D@39ab89, xyz] (java.util.Vector)
! but:
">>>" + v + "<<<"  ! adds v.toString() to String ">>>"
 = >>>[abc, 2.0, [D@39ab89, xyz]<<< (java.lang.String)
!
v.size()
 = 4 (int)
v.get(1)
 = 2.0 (java.lang.Double)
v[2]  ! <- abbreviation of v.get(2)
 = { 3.0, 5.0, 7.0 } (double[3])
v[1:]
 = { 2.0, [D@39ab89, xyz } (java.lang.Object[3])
format v
 = { abc (java.lang.String),
 =   2.0 (java.lang.Double),
 =   { 3.0,
 =     5.0,
 =     7.0 } (double[3]),
 =   xyz (java.lang.String) } (java.lang.Object[4]) from java.util.Vector (java.lang.String)