On 7/13/06, James M Snell <[EMAIL PROTECTED]> wrote:
Well aware, however, using list (even unmodifiable ones) in this case
has a number of unfortunate downsides, not the least of which is causing
the pull parser to consume the stream before it returns.  We can
preserve the incremental parse model by using an iterator instead.

I'm glad you're aware, but won't most people just get a dog-slow loop instead?

for (Iterator i = abderaFeed.getEntries(); i.hasNext();) {
 ...slowness...
}

--

Robert Sayre

Reply via email to