Re: [tcljava-user] Converting java array to a tcl list for use with lsearch.
Brought to you by:
mdejong
From: <PFi...@hb...> - 2005-10-31 08:22:22
|
Yeah you are right. It's possible to iterate and cast in one line. set serverSet [ $AdminClientI queryNames $ObjectNameI $nullI ] set serverMbean [ java::cast ObjectName [ [ $serverSet iterator ] next ] ] Regards. Patrick. =================================================== HBF Health Funds Inc. a registered organisation under the National Health Act HBF Insurance Pty Ltd ACN 009 268 277 This email is a confidential communication intended only for the named Addressee(s). If you are not that person any disclosure, copying, distribution or use of this email or the information in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return email and delete this email. The views in this email may be personal to the author and not those of HBF. |