|
Re: Adapter Pattern in SmallTalk: msg#00178lang.smalltalk.squeak.beginners
Thank you very much. I will make some exercise with smalltalk and come back to disturb you later probably ... :$ Thanks again. Conrad Taylor wrote: > > Hi, if you're only interested in converting the Java code to Smalltalk, I > would simple take one class at a time. For example, using the Glass > class: > Object subclass: #Glass > instanceVariableNames: '' > classVariableNames: '' > poolDictionaries: '' > category: 'Adapter-Example' > > > instance methods '*initialize-release'* > > initialize > content := 0.0 > > instance methods '*accessing**' protocol* > > content: anObject > content := anObject > > class methods '*class initialization' protocol* > * > * > *new* > * ^super new initialize* > * > * > Good luck, > > -Conrad > > -- View this message in context: http://www.nabble.com/Adapter-Pattern-in-SmallTalk-tf4347089.html#a12386578 Sent from the Squeak - Beginners mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Adapter Pattern in SmallTalk, Conrad Taylor |
|---|---|
| Next by Date: | Re: Scratch questions, karl |
| Previous by Thread: | Re: Adapter Pattern in SmallTalk, Conrad Taylor |
| Next by Thread: | Scratch questions, Alex Rice |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |