Modifier and Type | Method and Description |
---|---|
static <T> EmptyIterator<T> |
getInstance()
静态工厂方法
|
boolean |
hasNext()
由于是空值迭代器,不存在下一个值
|
T |
next()
由于是空值迭代器,下一个值必定为null
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
Copyright © 2020. All rights reserved.