Java-subList

subList

  • subList方法是用来返回链表中 fromIndex 到 toIndex 的部分。(如果 fromIndex 和 toIndex 相等,则返回空)
  • 接口:List
  • 注意:返回链表的部分包含 fromIndex,不包含 toIndex;也就是 [fromIndex, toIndex)
发布了39 篇原创文章 · 获赞 32 · 访问量 1490

猜你喜欢

转载自blog.csdn.net/weixin_44780625/article/details/100561620