org.apache.myfaces.shared.util
Class NullIterator

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

public final class NullIterator
extends java.lang.Object
implements java.util.Iterator

Iterator without elements

Version:
$Revision: 557350 $ $Date: 2007-07-18 13:19:50 -0500 (Wed, 18 Jul 2007) $
Author:
Anton Koinov (latest modification by $Author: matzew $)

Constructor Summary
NullIterator()
           
 
Method Summary
 boolean hasNext()
           
static java.util.Iterator instance()
           
 java.lang.Object 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 java.util.Iterator instance()

hasNext

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

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

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


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