Re: [Biojava-dev] Port an Algorithm to Java
Andreas Prlic <[email protected]>
| Newsgroups | gmane.comp.java.bio.general |
|---|---|
| Message-ID | <CALthepw1350fFKK_Dsy-_o9g-Kp2nM3eOsW0wAgMWYUU36LjAA@mail.gmail.com> |
I recommend a very good read - Effective Java from Joshua Bloch. also there are a couple of good online articles about the topic of immutable objects. Andreas On Wed, Apr 4, 2012 at 8:06 AM, Dragos-Bogdan Sima <[email protected]> wrote: > Hello, > > I hava an important question. What would it be the best method to treat > constant objects in java? > I am thinking to write an Immuble interface that provides API for just the > const methods. Then if I return or pass objects of type immubable, the > degree of safety would be the same as in C++. > > Thank you, > Dragos. _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l