org.apache.myfaces.shared.util
Class NullIterator<T>

java.lang.Object
  extended by org.apache.myfaces.shared.util.NullIterator<T>
All Implemented Interfaces:
java.util.Iterator<T>

public final class NullIterator<T>
extends java.lang.Object
implements java.util.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 $)

Constructor Summary
NullIterator()
           
 
Method Summary
 boolean hasNext()
           
static
<T> java.util.Iterator<T>
instance()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullIterator

public NullIterator()
Method Detail

instance

public static final <T> java.util.Iterator<T> instance()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.