[Biojava-l] [Biojava-dev] Port an Algorithm to Java

Andreas Prlic andreas at sdsc.edu
Wed Apr 4 16:32:00 UTC 2012


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
<simadragosbogdan at gmail.com> 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.



More information about the Biojava-l mailing list