nl.knowledgeplaza.util.collection
Class NullIterator

java.lang.Object
  extended by nl.knowledgeplaza.util.collection.NullIterator
All Implemented Interfaces:
Iterator

public class NullIterator
extends Object
implements Iterator

An always empty iterator.

Version:
$Revision: 1.2 $

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

Method Detail

getIterator

public static Iterator getIterator()

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 © 2012 KnowledgePlaza. All Rights Reserved.