Java Mailing List Archive

http://www.junlu.com/

Home » JDOM Projects »

Re: [jdom-interest] jdom 1.1

katja radelicki

2008-09-25

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello,

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?

Regards,
Katja

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:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.