cn.hutool.core.collection.IterableIter Maven / Gradle / Ivy
The newest version!
package cn.hutool.core.collection;
import java.util.Iterator;
/**
* 提供合成接口,共同提供{@link Iterable}和{@link Iterator}功能
*
* @param 节点类型
* @author looly
* @since 5.7.14
*/
public interface IterableIter extends Iterable, Iterator {
@Override
default Iterator iterator() {
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy