So you can't just go:

list = createObject("java", "java.util.ArrayList").init();
list.add(...);

And pass that through?

Mark

On Mon, Apr 7, 2008 at 9:42 AM, Paul Hastings <[EMAIL PROTECTED]> wrote:
> C S wrote:
>  > Just curious, what is the method signature?  I would have expected 
> ArrayList,
>  > Vector, etcetera to work, since they all implement java.util.List.
>
>  me too but as i said it's incredibly picky ("it" being jfreechart). it wants 
> a
>  java.util.List & nothing else. it's signature:
>
>  public static BoxAndWhiskerItem 
> calculateBoxAndWhiskerStatistics(java.util.List
>  values)
>
>  the wrapper's basically:
>
>  public static List toList(double[] inArray) {
>         List result = new java.util.ArrayList();
>         for (int i = 0; i < inArray.length; i++) {
>                 result.add(new Double(inArray[i]));
>         }
>         return result;
>  }
>
>  i have to say that jfreechart beats cfchart for the scientific charts i 
> normally
>  have to deal with but man is it picky.
>
>  thanks.
>
>  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302814
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to