Article View: aus.computers.java
Article #236Re: Multiple interfaces
From: Coho (Richard Swain)
Date: Thu, 20 Jun 2002 19:18
Date: Thu, 20 Jun 2002 19:18
26 lines
2175 bytes
2175 bytes
Steve Horsley wrote: > On Wed, 19 Jun 2002 23:12:14 +0100, "Coho (Richard Swain)" > <vibron@krang.f9.co.uk> wrote: > [snip] >>and within that if you need to get hold of the other interface just do >> >> Intf2 f2 = ((ThingThatDoesIntf1AndIntf2)fi).getIntf2(); >> Er. Many apologies. After having a second look this cast wouldn't work, you would have to have the original object not its facet. Sorry :-( [snip] > > Steve -- http://www.krang.f9.co.uk
Technical Details
Message-ID:
<3D122A9C.1080007@krang.f9.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!newsfeed.belnet.be!news.belnet.be!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mailReferences:
<1024283082.192985@web.apex.net.au> <JScP8.111$Fv1.17660@newsread2.prod.itd.earthlink.net> <1024289793.45649@web.apex.net.au> <pan.2002.06.17.07.46.24.235390.777@databasix.com> <3D0F7E91.5010401@krang.f9.co.uk> <3d10edc6.1491361@news.virgin.net> <3D1101BE.40506@krang.f9.co.uk> <3d121553.1321895@news.virgin.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,113f3357bc588129 X-Google-Attributes: gid10a146,public X-Google-Thread: 10d6db,113f3357bc588129 X-Google-Attributes: gid10d6db,public X-Google-Thread: f74b3,113f3357bc588129 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2002-06-20 12:18:32 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!newsfeed.belnet.be!news.belnet.be!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail Message-ID: <3D122A9C.1080007@krang.f9.co.uk> From: "Coho (Richard Swain)" <vibron@krang.f9.co.uk> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en,ru MIME-Version: 1.0 Newsgroups: aus.computers.java,borland.public.jbuilder.java.language,comp.lang.java.programmer Subject: Re: Multiple interfaces References: <1024283082.192985@web.apex.net.au> <JScP8.111$Fv1.17660@newsread2.prod.itd.earthlink.net> <1024289793.45649@web.apex.net.au> <pan.2002.06.17.07.46.24.235390.777@databasix.com> <3D0F7E91.5010401@krang.f9.co.uk> <3d10edc6.1491361@news.virgin.net> <3D1101BE.40506@krang.f9.co.uk> <3d121553.1321895@news.virgin.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 27 Date: Thu, 20 Jun 2002 20:18:52 +0100 NNTP-Posting-Host: 80.4.128.115 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 1024600707 80.4.128.115 (Thu, 20 Jun 2002 20:18:27 BST) NNTP-Posting-Date: Thu, 20 Jun 2002 20:18:27 BST Organization: ntlworld News Service