jlibs.core.util
Class NonNullIterator<T>

java.lang.Object
  extended by jlibs.core.util.AbstractIterator<T>
      extended by jlibs.core.util.NonNullIterator<T>
All Implemented Interfaces:
Iterator<T>

public abstract class NonNullIterator<T>
extends AbstractIterator<T>

Author:
Santhosh Kumar T

Field Summary
 
Fields inherited from class jlibs.core.util.AbstractIterator
NO_MORE_ELEMENTS
 
Constructor Summary
NonNullIterator()
           
 
Method Summary
protected  Object computeNext()
           
protected abstract  T findNext()
           
 
Methods inherited from class jlibs.core.util.AbstractIterator
hasNext, next, remove, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonNullIterator

public NonNullIterator()
Method Detail

computeNext

protected final Object computeNext()
Specified by:
computeNext in class AbstractIterator<T>

findNext

protected abstract T findNext()


Copyright © 2018. All rights reserved.