I have been using ArrayList when returning Arrays from within a CreateObject
call..


But that still doesn't answer how I set this to a Coldfusion variable within
CFX?

Regards
Andrew Scott
Technical Consultant

NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9686 0485  -  Fax: 03 9699 7976   

  _____  

From: Rob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 June 2004 12:27 AM
To: CF-Talk
Subject: Re: Java and Coldfusion help (Repost)

This is kind of an aside, but it's a pet peeve of mine.  If you can, use
an ArrayList not a Vector. CF's data type may require you to use a
vector (depending on how cf is written). However, vector and ArrayList
are both use the List interface (in 1.4.2), and arraylist is way faster
(In a Vector all methods are synchronized which is unneeded most of the
time - especially from a page request point of view).

Vector is commonly an old data type, and should be avoided if possible -
again cf may require you to use it, but try an arraylist it may work if
they wrote the data types generically (which they should have).
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to