🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #286

Re: Multiple interfaces

#286
From: Tristan Reeves
Date: Tue, 18 Jun 2002 09:07
42 lines
2685 bytes
"Jeff Dillon" <jeff@jeffdillon.com> wrote in message
news:EzxP8.238919$cQ3.10063@sccrnsc01...
> 1) If you are implementing more than a few interfaces in one class you are
> probably doing too much in one class and probably have poor design.

What about TWO interfaces?

> 2) If you have this problem you also have a poor naming convention.
>
> Jeff Dillon

Crap.
As I have said repeatedly, they may not be *your* interfaces.

>
> "Tristan Reeves" <moonshine@apex.net.au> wrote in message
> news:1024283082.192985@web.apex.net.au...
> > Hi,
> >
> > I am fairly new to Java, and I am sure this question has been raised on
> > numerous occasions. Nevertheless...
> >
> > I was saddened to find out that Java fails miserably in implemeting
> multiple
> > interfaces which share a method signature. I know the standard
contorsion
> of
> > using inner classes, one for each interface, have the inner classes
> delegate
> > to a method on the outer class, and then allowing access to instances of
> > these inner classes via an accessor method on the outer class.
> >
> > Does anyone know if there are any plans to fix this ridiculous state of
> > affairs? Or, is there any other way to resolve name-clashes?
> >
> > Regards,
> > Tristan.
> >
> >
>
>
Technical Details
Message-ID: <1024391253.156369@web.apex.net.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.can.connect.com.au!not-for-mail
References: <1024283082.192985@web.apex.net.au> <EzxP8.238919$cQ3.10063@sccrnsc01>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,113f3357bc588129
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 10a146,113f3357bc588129
X-Google-Attributes: gid10a146,public
X-Google-Thread: f74b3,113f3357bc588129
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2002-06-18 02:07:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.can.connect.com.au!not-for-mail
From: "Tristan Reeves" <moonshine@apex.net.au>
Newsgroups: aus.computers.java,borland.public.jbuilder.java.language,comp.lang.java.programmer
Subject: Re: Multiple interfaces
Date: Tue, 18 Jun 2002 19:07:34 +1000
Organization: APEX Internet
Lines: 44
Message-ID: <1024391253.156369@web.apex.net.au>
References: <1024283082.192985@web.apex.net.au> <EzxP8.238919$cQ3.10063@sccrnsc01>
NNTP-Posting-Host: news.apex.net.au
X-Trace: auwa.connect.com.au 1024391253 23887 210.9.132.20 (18 Jun 2002 09:07:33 GMT)
X-Complaints-To: abuse@connect.com.au
NNTP-Posting-Date: 18 Jun 2002 09:07:33 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Cache-Post-Path: web.apex.net.au!unknown@210.9.133.28
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)