P
Philipp Kraus
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
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