Hello,
I have a class which inherits from two different interfaces. Both interfaces declare a method with the same name. How can I provide a different implementation for each interface ?
In C#, the answer is there, but it does not work in java: http://stackoverflow.com/questions/2371178/inheritance-from-multiple-interface-with-the-same-method-name-in-c
I thought about providing a union implementation which uses type comparison but it's kind of ugly.
Thanks
EDIT : closed, my question was a duplicate of the following, thank you for the answers ! http://stackoverflow.com/questions/2598009/method-name-collision-in-interface-implementation-java