🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #283

Re: Multiple interfaces

#283
From: Kirk Knoernschild
Date: Mon, 17 Jun 2002 12:40
30 lines
2291 bytes
I'd be interested to hear what alternatives there are. Throwing a
compile error would be yet a worse solution. The only true problem it
causes is when there are different implementations necessary for each
of the operations. And while this could be a problem, it's never
surfaced on any of the teams I've worked with.

Kirk Knoernschild
Senior Consultant/Instructor
TeamSoft, Inc.
Mentoring, Training, Consulting
www.teamsoftinc.com
www.kirkk.com

"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: <d58c8ade.0206170440.165b8734@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <1024283082.192985@web.apex.net.au>

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: f74b3,113f3357bc588129
X-Google-Attributes: gidf74b3,public
X-Google-Thread: 10a146,113f3357bc588129
X-Google-Attributes: gid10a146,public
X-Google-ArrivalTime: 2002-06-17 05:40:51 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: kirk@kirkk.com (Kirk Knoernschild)
Newsgroups: aus.computers.java,borland.public.jbuilder.java.language,comp.lang.java.programmer
Subject: Re: Multiple interfaces
Date: 17 Jun 2002 05:40:49 -0700
Organization: http://groups.google.com/
Lines: 30
Message-ID: <d58c8ade.0206170440.165b8734@posting.google.com>
References: <1024283082.192985@web.apex.net.au>
NNTP-Posting-Host: 165.200.82.66
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1024317651 11362 127.0.0.1 (17 Jun 2002 12:40:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Jun 2002 12:40:51 GMT