Re: Java ListIterator to CF Variable

2006-11-01 Thread Andrew Scott
If you have returned it has a jave object via CreateObject, treat it the same way as you would in Java. On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the

RE: Java ListIterator to CF Variable

2006-11-01 Thread Robertson-Ravo, Neil (RX)
No worries... sorted cfloop condition=resultIterator.hasNext() eq true Now only thing to see is if there is a way to get the iterator length ;-) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 01 November 2006 13:04 To: CF-Talk Subject: Java

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List public java.util.ListIterator listIterator(int) public java.util.ListIterator listIterator() I would try

Re: Java ListIterator to CF Variable

2006-11-01 Thread Robertson-Ravo, Neil (RX)
this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Wed Nov 01 16:55:16 2006 Subject: Re: Java ListIterator to CF Variable Neil, This is basically a CF java 101 question and I

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
To: CF-Talk Sent: Wed Nov 01 16:55:16 2006 Subject: Re: Java ListIterator to CF Variable Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List public

Re: Java ListIterator to CF Variable

2006-11-01 Thread Andrew Scott
this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Wed Nov 01 16:55:16 2006 Subject: Re: Java ListIterator to CF Variable Neil

Re: Java ListIterator to CF Variable

2006-11-01 Thread Mark Mandel
: Dan Plesse To: CF-Talk Sent: Wed Nov 01 16:55:16 2006 Subject: Re: Java ListIterator to CF Variable Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
Please reread the method summary :) only 9 methods to speak of :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four

RE: Java ListIterator to CF Variable

2006-11-01 Thread Richard Kroll
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 8:46 PM To: CF-Talk Subject: Re: Java ListIterator to CF Variable Please reread the method summary :) only 9 methods to speak of :) ~| Introducing the Fusion

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
Interesting! It says you can get the list size if and only if the iterator is at the end of the list. So if *hasNexthttp://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html#hasNext%28%29 *() == false { int get = nextIndex() ; }

Re: Java ListIterator to CF Variable

2006-11-01 Thread Robertson-Ravo, Neil (RX)
-Original Message- From: Richard Kroll To: CF-Talk Sent: Thu Nov 02 05:26:14 2006 Subject: RE: Java ListIterator to CF Variable ...nextIndex() the index of the element that would be returned by a subsequent call to next, or list size if list iterator is at end of list it's not technically