• Defines a co-variant version of the equals() or compareTo() method.

    定义一个co-variant版本的equals()或compareTo()方法。

    youdao

  • One of the implications of erasure is that a class cannot implement both Comparable and Comparable, because both of these are in fact the same interface, specifying the same compareTo() method.

    擦除意味着一个类不能同时实现Comparable和 Comparable,因为事实上两者都在同一个接口中,指定同一个 compareTo()方法。

    youdao

  • One of the implications of erasure is that a class cannot implement both Comparable and Comparable, because both of these are in fact the same interface, specifying the same compareTo() method.

    擦除意味着一个类不能同时实现Comparable和 Comparable,因为事实上两者都在同一个接口中,指定同一个 compareTo()方法。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定