Java Mailing List Archive

Home » JDOM Projects »

Re: [jdom-interest] jdom 1.1

katja radelicki


Replies: Find Java Web Hosting

Author LoginPost Reply


maybe I put my question in other words:
the method getChildren returns a LinkedList in jdom 1.0 and 1.1.
Iterating the LinkedList with a for  loop in which you do a get(i) takes a lot of time --> O(n²).
But why it does not take a lot of time in jdom 1.0? It's also O(n²)?
Which difference between jdom 1.0 and jdom 1.1 causes this difference in time?



Dit bericht is onderworpen aan de voorwaarden beschikbaar op onze website

Ce message est soumis aux conditions disponibles sur notre site web

This message is subject to the terms and conditions available on our website

To control your jdom-interest membership:
©2008 - Jax Systems, LLC, U.S.A.