Elexis API documentation
Version 2.1.6 as of December 11 2011

eaustria.utensil
Class Nulliterator<T>

java.lang.Object
  extended by eaustria.utensil.Nulliterator<T>
All Implemented Interfaces:
java.util.Iterator<T>

public class Nulliterator<T>
extends java.lang.Object
implements java.util.Iterator<T>

Nulliterator, iteriert nie. Liefert nie Elemente zurück.

Der Nulliterator eignet sich für Listen, die nicht initialisiert sind (sprich, auf null gesetzt sind) und daher keinen eigenen Iterator haben.

Author:
leo

Constructor Summary
Nulliterator()
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
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()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis