📄 iteratorfiltersupport.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: IteratorFilterSupport.java
package org.apache.struts2.util;
import java.util.Enumeration;
import java.util.Iterator;
// Referenced classes of package org.apache.struts2.util:
// MakeIterator
public abstract class IteratorFilterSupport
{
public class EnumerationIterator
implements Iterator
{
Enumeration enumeration;
final IteratorFilterSupport this$0;
public boolean hasNext()
{
return enumeration.hasMoreElements();
}
public Object next()
{
return enumeration.nextElement();
}
public void remove()
{
throw new UnsupportedOperationException("Remove is not supported in IteratorFilterSupport.");
}
public EnumerationIterator(Enumeration aEnum)
{
this$0 = IteratorFilterSupport.this;
super();
enumeration = aEnum;
}
}
public IteratorFilterSupport()
{
}
protected Object getIterator(Object source)
{
return MakeIterator.convert(source);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -