org.apache.portals.bridges.jsf
Class NullIterator

java.lang.Object
  extended by org.apache.portals.bridges.jsf.NullIterator
All Implemented Interfaces:
Iterator

public final class NullIterator
extends Object
implements Iterator

Iterator without elements.

Code borrowed from myfaces.


Constructor Summary
NullIterator()
           
 
Method Summary
 boolean hasNext()
           
static Iterator instance()
           
 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 Iterator instance()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.