com.sun.xml.fastinfoset.stax.events
Class EmptyIterator

java.lang.Object
  extended by com.sun.xml.fastinfoset.stax.events.EmptyIterator
All Implemented Interfaces:
Iterator

public class EmptyIterator
extends Object
implements Iterator


Field Summary
static EmptyIterator instance
           
 
Method Summary
static EmptyIterator getInstance()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final EmptyIterator instance
Method Detail

getInstance

public static EmptyIterator getInstance()

hasNext

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

next

public Object next()
            throws NoSuchElementException
Specified by:
next in interface Iterator
Throws:
NoSuchElementException

remove

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.