Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28723
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail |
|---|---|
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Queue and Map interface |
| Date | Fri, 13 Jun 2014 22:52:18 +0200 |
| Organization | 1&1 Internet AG |
| Lines | 16 |
| Message-ID | <lnfoa3$8sn$1@online.de> (permalink) |
| NNTP-Posting-Host | pd952cc95.dip0.t-ipconnect.de |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | online.de 1402692739 9111 217.82.204.149 (13 Jun 2014 20:52:19 GMT) |
| X-Complaints-To | abuse@einsundeins.com |
| NNTP-Posting-Date | Fri, 13 Jun 2014 20:52:19 +0000 (UTC) |
| User-Agent | Unison/2.1.10 |
| Xref | csiph.com comp.lang.java.programmer:28723 |
Show key headers only | View raw
Hello,
I would like to create a class which implements a Map and a Queue with
class myMapQueue<A,B> extends myAbstractClass implements Map<A,B>, Queue<B> {}
The problem is the remove(Object) method, because the method is defined
in the Queue and the Map
interface in the Queue with boolean remove(Object) and in the Map with
V remove(Object), so I get
a "clash error". How can I solve this problem.
Thanks a lot
Phil
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Queue and Map interface Philipp Kraus <philipp.kraus@flashpixx.de> - 2014-06-13 22:52 +0200
Re: Queue and Map interface Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-06-13 17:32 -0400
Re: Queue and Map interface markspace <markspace@nospam.nospam> - 2014-06-13 16:52 -0700
Re: Queue and Map interface Philipp Kraus <philipp.kraus@flashpixx.de> - 2014-06-14 07:52 +0200
Re: Queue and Map interface Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-06-14 08:41 -0400
csiph-web