- Type Parameters:
V - 迭代对象类型
- All Implemented Interfaces:
Serializable, Iterator<V>
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<V>
- Returns:
- 是否有下一个值
-
-
remove
public void remove()
从缓存中移除没有过期的当前值,不支持此方法
- Specified by:
remove in interface Iterator<V>