org.apache.myfaces.shared_impl.util
Class NullIterator<T>
java.lang.Object
org.apache.myfaces.shared_impl.util.NullIterator<T>
- All Implemented Interfaces:
- Iterator<T>
public final class NullIterator<T>
- extends Object
- implements Iterator<T>
Iterator without elements
- Version:
- $Revision: 955768 $ $Date: 2010-06-17 17:24:24 -0500 (Thu, 17 Jun 2010) $
- Author:
- Anton Koinov (latest modification by $Author: jakobk $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullIterator
public NullIterator()
instance
public static final <T> Iterator<T> instance()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
next
public T next()
- Specified by:
next
in interface Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T>
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.