摘要: // 从数组中删除index位置的元素,返回删除的元素 public int remove(int index) { if (index = size) { throw new IllegalArgumentException("Remove faile... 阅读全文
posted @ 2019-08-14 23:19 小帅学java 阅读(58) 评论(0) 推荐(0)
摘要: // 获取index索引位置的元素 public int get(int index) { if (index = size) { throw new IllegalArgumentException("Get failed. Index is ill... 阅读全文
posted @ 2019-08-14 13:15 小帅学java 阅读(16) 评论(0) 推荐(0)