摘要: 1 /**自己实现linkedlsit 2 * 添加 addFirst(E e) addLast(E e) add(E e) add(int index,E e) 3 * 获取 get(int index) getLast() getFirst() 4 * 删除 removeFirst() remv 阅读全文
posted @ 2021-06-05 16:52 小猫钓鱼吃鱼 阅读(495) 评论(0) 推荐(0) 编辑
摘要: /** * 自己实现arraylist * 添加 add(E e) add(int index,E e) * 获取 get(int index) * 删除 remove(int index) remove(object o) * 替换 set(int index) * 长度 getSize() * 阅读全文
posted @ 2021-06-05 16:50 小猫钓鱼吃鱼 阅读(60) 评论(0) 推荐(0) 编辑