Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » jsbml-development » Initialization of ListOf objects
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Andreas Dräger


Posts: 273
Registered:
June 2006
Re: Initialization of ListOf objects 27 Dec '09 23:46 Go to previous messageGo to previous message

Good morning everybody!

Ok, maybe we can go with the following compromise: Let's set all lists
to null when new Objects that contain ListOf Objects are initialized.
But the get- method should initialized the corresponding list, e.g.,
getListOfParameters() should initialize the list of parameters if it is
still null. The method addChangeListener() has to initialize all lists
otherwise we'll run into unnecessary NullPointerExceptions or we have to
force the programmer to initialize all lists first. What do you think?

Cheers
Andreas

--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-70436
Fax: +49-7071-29-5091
____________________________________________________________
To manage your jsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/jsbml-development

For a web interface to the jsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the jsbml-development list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   Initialization of ListOf objects Andreas Dräger21 Dec '09 23:24
Read Message   Re: Initialization of ListOf objects  Andreas Dräger27 Dec '09 23:46
Read Message   Re: Initialization of ListOf objects rodrigue22 Jan '10 02:39
Previous Topic:Annotation and ModelHistory
Next Topic:Re: help offer
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.