public class Chain<E> extends Object
Modifier and Type | Field and Description |
---|---|
int |
invertedIterator |
int |
iterator |
Modifier and Type | Method and Description |
---|---|
Chain<E> |
add(E e) |
Chain<E> |
clear() |
Object |
clone() |
boolean |
contains(E e) |
List<E> |
getContianer()
获取保存对象的容器
|
boolean |
hasNext()
迭代器是否有下一个对象
|
boolean |
hasPrevious()
迭代器是否有上一个对象
|
E |
next()
迭代器下一个元素
|
E |
previous()
迭代器上一个元素
|
boolean |
remove(E e) |
Chain<E> |
rewind()
重置链的迭代器
|
int |
size() |
void |
stop()
迭代完成
|
public boolean contains(E e)
public boolean remove(E e)
public int size()
public void stop()
public E next()
public boolean hasNext()
public E previous()
public boolean hasPrevious()
Copyright © 2020 Voovan. All rights reserved.