com.hp.hpl.jena.util.iterator
Class NullIterator

java.lang.Object
  extended by com.hp.hpl.jena.util.iterator.NiceIterator
      extended by com.hp.hpl.jena.util.iterator.NullIterator
All Implemented Interfaces:
ClosableIterator, ExtendedIterator, java.util.Iterator

public class NullIterator
extends NiceIterator

An empty iterator. The specialised versions of andThen() eliminate left operands that are empty iterators from cascaded sequences.


Field Summary
static NullIterator instance
           
 
Constructor Summary
NullIterator()
           
 
Method Summary
 ExtendedIterator andThen(ClosableIterator it)
          make a new iterator, which is us then the other chap.
 
Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator
andThen, close, close, emptyIterator, filterDrop, filterKeep, hasNext, mapWith, next, remove, removeNext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static NullIterator instance
Constructor Detail

NullIterator

public NullIterator()
Method Detail

andThen

public ExtendedIterator andThen(ClosableIterator it)
Description copied from class: NiceIterator
make a new iterator, which is us then the other chap.

Specified by:
andThen in interface ExtendedIterator
Overrides:
andThen in class NiceIterator


Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP