Collection
List Set
SortSet
ArrayList
LinkedList
Vector HashSet TreeSet
LinkedHashSet
Iterable
AbstractCollection
AbstractList
AbstractSet
AbstractSequentialList
接口
类
NavigableSet
单列集合
Stack
EnumSet
public interface Iterable<T> {
Iterator<T> iterator();
}
public interface Iterator<E> {
boolean hasNext();
E next();
void remove();
void forEachRemaining (Consumer<? super E> action);
}
函数化编程Consumer()