Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28723
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Queue and Map interface |
| Date | 2014-06-13 22:52 +0200 |
| Organization | 1&1 Internet AG |
| Message-ID | <lnfoa3$8sn$1@online.de> (permalink) |
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