https://blog.csdn.net/qq_38973841/article/details/83753639
一、list.indexOf(Object O) 是 返回对象O在List集合中出现的索引位置
二、list.lastIndexOf(Object O) 是 返回对象O在List集合中最后一次出现的位置索引
三、list.subList(int formIndex, int toIndex) 是返回从索引 formIndex(包括)到 toIndex(不包括)处所有的元素
---------------------
作者:后视镜的世界
来源:CSDN
原文:https://blog.csdn.net/qq_38973841/article/details/83753639
版权声明:本文为博主原创文章,转载请附上博文链接!