but, yep, it is experimental.. evnetually I will conclude the OO is
the proper way to go :)
On Wed, Apr 2, 2008 at 6:09 PM, Felipe Gaúcho <fgaucho_at_gmail.com> wrote:
> actually, in my case the operations are like that:
>
> class A {
> processPdfAttachment(PdfAttachment obj) { ... }
> processFlashAttachment(FlashAttachment obj) { ... }
> processGifAttachment(GifAttachment obj) { ... }
> processHtmlAttachment(HtmlAttachment obj) { ... }
> }
>
> all these "attachments types" are subclasses of the AbstractAttachment.....
>
> the idea was:
>
> class A {
> processAttachment(Attachment<T> obj) { ... }
> }
>