133134135136137138139140141142143
} public Foo[] vectorToValueArray(java.util.Vector v) throws java.rmi.RemoteException { Foo a[] = new Foo[v.size()]; for (int i = 0; i < a.length; i++) { a[i] = RMITestUtil.echoFoo((Foo)v.elementAt(i)); }
48495051525354555657
return s + " (echoed back)"; } public static Foo echoFoo(Foo f) { Foo newFoo = new Foo(f.i, f.s); newFoo.i++; newFoo.s += " <"; return newFoo; }
134135136137138139140141142143144