26 lines
294 B
Java
26 lines
294 B
Java
package appeng.util.iterators;
|
|
|
|
import java.util.Iterator;
|
|
|
|
public class NullIterator<T> implements Iterator<T>
|
|
{
|
|
|
|
@Override
|
|
public boolean hasNext()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public T next()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void remove()
|
|
{
|
|
|
|
}
|
|
|
|
}
|