Implementing a compareTo method to compare the data stored in two nodes

前端 未结 0 1340
野性不改
野性不改 2020-12-09 13:07

I am trying to implement a method that compares this.node with a node received as a parameter. The data stored in a Node is a subclass of Number. The method should return -1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题