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 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: 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 Hello, I would like to create a class which implements a Map and a Queue with class myMapQueue extends myAbstractClass implements Map, Queue {} 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