org.geotools.xml
Class XPath.NullIterator

java.lang.Object
  extended byorg.geotools.xml.XPath.NullIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
XPath

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

A convenience class. An iterator that always return false to hasNext()

Version:
$Revision: 1.9 $
Author:
Jesse Eichar

Constructor Summary
XPath.NullIterator()
           
 
Method Summary
 boolean hasNext()
          NullIterator never has a next() object
 java.lang.Object next()
           
 void remove()
          Not meaningful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPath.NullIterator

public XPath.NullIterator()
Method Detail

hasNext

public boolean hasNext()
NullIterator never has a next() object

Specified by:
hasNext in interface java.util.Iterator
Returns:
null

next

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

remove

public void remove()
Not meaningful

Specified by:
remove in interface java.util.Iterator


Copyright © GeoTools. All Rights Reserved.