Which exception should be thrown when input causes an IndexOutOfBoundsException?

后端 未结 0 1771
眼角桃花
眼角桃花 2020-12-09 00:25

I am writing a method to find the Xth largest entry in a list. The header is

> T max(List list, int rank) {...}
<         


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