Hi All,
I am currently interfacing with our new Search Engine via its Java API
(obviously using ColdFusion ;-) and it has the following line in the API
docs...
Java.util.ListIterator iterator = result.documents(); // returns a list
iterator for the document summaries in this query result.
What
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
ListIterator to CF Variable
Hi All,
I am currently interfacing with our new Search Engine via its Java API
(obviously using ColdFusion ;-) and it has the following line in the API
docs...
Java.util.ListIterator iterator = result.documents(); // returns a list
iterator for the document summaries
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
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
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
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
: 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
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
[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
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() ;
}
-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
12 matches
Mail list logo