com.hp.hpl.mesa.rdf.jena.common.prettywriter
Class NullIterator

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.common.prettywriter.NullIterator
All Implemented Interfaces:
java.util.Iterator

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

A useful class: an Iteration of nothing.

Version:
Release='$Name: $' Revision='$Revision: 1.2 $' Date='$Date: 2001/07/04 17:54:03 $'
Author:
jjc

Constructor Summary
NullIterator()
           
 
Method Summary
 boolean hasNext()
          No.
 java.lang.Object next()
          NoSuchElementException.
 void remove()
          IllegalStateException.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullIterator

public NullIterator()
Method Detail

hasNext

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

next

public java.lang.Object next()
NoSuchElementException.
Specified by:
next in interface java.util.Iterator
Throws:
java.lang.NoSuchElementException - Always.

remove

public void remove()
IllegalStateException.
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.IllegalStateException - Always.


Copyright 2001 Hewlett-Packard. All Rights Reserved.