Implementing interfaces with jpype

Hi Serrof,

Yes, jpype don’t do method resolution for implemented interfaces (python has no concept of same method name with different parameters), so one needs to do this oneself. JPype User Guide — JPype 1.6.0.dev0 documentation

This can be done with the new python 3.12(?) match statement.

See discussion in Plan for new way of multiple dispatch in orekit python wrapper

1 Like