Article View: aus.computers.java
Article #271Multiple interfaces
From: Tristan Reeves
Date: Mon, 17 Jun 2002 03:04
Date: Mon, 17 Jun 2002 03:04
16 lines
1979 bytes
1979 bytes
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:
<1024283082.192985@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-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,113f3357bc588129,start X-Google-Attributes: gid10d6db,public X-Google-Thread: 10a146,113f3357bc588129,start X-Google-Attributes: gid10a146,public X-Google-Thread: f74b3,113f3357bc588129,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2002-06-16 20:04:49 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: Multiple interfaces Date: Mon, 17 Jun 2002 13:04:42 +1000 Organization: APEX Internet Lines: 18 Message-ID: <1024283082.192985@web.apex.net.au> NNTP-Posting-Host: news.apex.net.au X-Trace: auwa.connect.com.au 1024283088 23409 210.9.132.20 (17 Jun 2002 03:04:48 GMT) X-Complaints-To: abuse@connect.com.au NNTP-Posting-Date: 17 Jun 2002 03:04:48 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.178 X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)