1. 泛型接口定义: public interface 类型<泛型类型> {}
2. JDK1.8中, Iterator泛型接口
public interface Iterator<E> {
boolean hasNext();
E next();
}
泛型接口与Iterator详解
1. 泛型接口定义: public interface 类型<泛型类型> {}
2. JDK1.8中, Iterator泛型接口
public interface Iterator<E> {
boolean hasNext();
E next();
}
299
1191
1060

被折叠的 条评论
为什么被折叠?