Re: [Biojava-l] small change to changeable, big change to lots of files

2002-04-25 Thread Thomas Down
On Wed, Apr 24, 2002 at 09:57:15PM +0100, Keith James wrote: > > Most of the problem seems to be the ChangeSupport constructors > chaining through with a hard-coded null value for a Set which gets > passed to the HashSet constructor. I've replaced this with > Collections.EMPTY_SET for now and the

[Biojava-l] Tutorial Suggestion...

2002-04-25 Thread James Carman
In the "Doesn't this all waste memory?" subsection of the "BioJava: Symbols and SymbolLists" section of the tutorial, you claim "there are just four `singleton' Symbol objects which represent the symbols found in the DNA alphabet." This is not an example of the Singleton design pattern. It is an

Re: [Biojava-l] Tutorial Suggestion...

2002-04-25 Thread Michael L. Heuer
You're right -- it is an instantiation of the flyweight design pattern, where each flyweight instance is a singleton. michael On Thu, 25 Apr 2002, James Carman wrote: > In the "Doesn't this all waste memory?" subsection of the "BioJava: Symbols > and SymbolLists" section of the tutorial, yo

Re: [Biojava-l] Tutorial Suggestion...

2002-04-25 Thread James Carman
No, each flyweight instance is not a singleton. It is a single instance of a class, that's true. However, there are also other instances of the same class. In the singleton design pattern, exactly one instance of the class exists. In the flyweight pattern, multiple instances of the class exist

[Biojava-l] Information of biojava

2002-04-25 Thread Cleophus Pereira
Dear Sir/ Madam, I would like to know how i can study and learn to devleop programs on bio java. Thanx Regards, Cleophus Pereira ___ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l

Re: [Biojava-l] Tutorial Suggestion...

2002-04-25 Thread Phillip Lord
> "James" == James Carman <[EMAIL PROTECTED]> writes: James> No, each flyweight instance is not a singleton. It is a James> single instance of a class, that's true. However, there are James> also other instances of the same class. In the singleton James> design pattern, exactly one

Re: [Biojava-l] Tutorial Suggestion...

2002-04-25 Thread Michael L. Heuer
Ah yes, I see the distinction. Very clever. So how exactly should we update the documentation?? :) michael On 25 Apr 2002, Phillip Lord wrote: > > "James" == James Carman <[EMAIL PROTECTED]> writes: > > James> No, each flyweight instance is not a singleton. It is a > James> sing

RE: [Biojava-l] small change to changeable, big change to lots of files

2002-04-25 Thread Schreiber, Mark
Much as I would like to blame Matthew for the Distribution Serialization problem unfortunately the problem comes from the OrderNDistributions not behaiving well during serialization. Somehow even though SimpleDistribution is serializable the SimpleDists in the OrderNDist seem to go AWOL. I haven't

[Biojava-l] Help with Stax and AGAVE xml

2002-04-25 Thread Schreiber, Mark
Hi - I have been using the following snippet of code to read files from xembl that are in AGAVE format. Features seem to be added to the constructed sequence object ok but annotations seem to go missing. Do I need to add some sort of listener somewhere? I'm a bit concerned about using the SeqIOA

[Biojava-l] Reading/ writing GAME

2002-04-25 Thread Schreiber, Mark
Hi - What is the proceedure for building and or writing a biojava object with GAME? Particularly what should the SeqIOListener be? - Mark Mark Schreiber Bioinformatics AgResearch Invermay PO Box 50034 Mosgiel New Zealand PH: +64 3 489 9175 FAX: +64 3 489 3739 ===

Re: [Biojava-l] Reading/ writing GAME

2002-04-25 Thread David Huen
On Friday 26 Apr 2002 5:57 am, Schreiber, Mark wrote: > Hi - > > What is the proceedure for building and or writing a biojava object with > GAME? Particularly what should the SeqIOListener be? > The current GAME code is a read-only implementation at this stage. The other problem is that GAME itse