On Tue, 2004-06-01 at 07:18, Joe Eugene wrote:
> Java Primitive Arrays are NOT Fully Compatible with CFMX 6.1.
>
> CFMX 6.1 Arrays = Vectors != Java Primitive Arrays.
>
> Method like arrayLen(Java Primitive Arrays) work but most other methods dont
> work since i believe there is no direct casting.
>
> You may want to use a Vector instead.

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).

--
Rob <[EMAIL PROTECTED]>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to