net.sf.staccatocommons.iterators.delayed
Class DelayedPrependIterator<A>

java.lang.Object
  extended by net.sf.staccatocommons.iterators.AbstractUnmodifiableIterator<A>
      extended by net.sf.staccatocommons.iterators.thriter.AbstractThriterator<A>
          extended by net.sf.staccatocommons.iterators.thriter.AdvanceThriterator<A>
              extended by net.sf.staccatocommons.iterators.PrependThriterator<A>
                  extended by net.sf.staccatocommons.iterators.delayed.DelayedPrependIterator<A>
All Implemented Interfaces:
Iterator<A>, EmptyAware, Thriter<A>, Thriterator<A>

public class DelayedPrependIterator<A>
extends PrependThriterator<A>

Author:
flbulgarelli

Constructor Summary
DelayedPrependIterator(Thunk<A> head, Thriter<? extends A> tail)
          Creates a new PrependThriterator
 
Method Summary
protected  A elementValue()
           
protected  Thunk<A> headThunk()
           
 
Methods inherited from class net.sf.staccatocommons.iterators.PrependThriterator
advanceNext, current, delayedCurrent, elementThunk, hasNext, toString
 
Methods inherited from class net.sf.staccatocommons.iterators.thriter.AdvanceThriterator
next
 
Methods inherited from class net.sf.staccatocommons.iterators.thriter.AbstractThriterator
delayedNext, isEmpty
 
Methods inherited from class net.sf.staccatocommons.iterators.AbstractUnmodifiableIterator
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
remove
 

Constructor Detail

DelayedPrependIterator

public DelayedPrependIterator(Thunk<A> head,
                              Thriter<? extends A> tail)
Creates a new PrependThriterator

Method Detail

elementValue

protected A elementValue()
Overrides:
elementValue in class PrependThriterator<A>

headThunk

protected Thunk<A> headThunk()


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads