org.apache.aries.samples.blog.biz
Class BlogListIterator<B,F>

java.lang.Object
  extended by org.apache.aries.samples.blog.biz.BlogListIterator<B,F>
All Implemented Interfaces:
Iterator<F>, ListIterator<F>

public class BlogListIterator<B,F>
extends Object
implements ListIterator<F>


Constructor Summary
BlogListIterator(ListIterator<? extends B> listIterator, Class<? extends F> frontendClazz, Class<B> backendClazz)
           
 
Method Summary
 void add(Object e)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 F next()
           
 int nextIndex()
           
 F previous()
           
 int previousIndex()
           
 void remove()
           
 void set(Object e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogListIterator

public BlogListIterator(ListIterator<? extends B> listIterator,
                        Class<? extends F> frontendClazz,
                        Class<B> backendClazz)
Method Detail

add

public void add(Object e)
Specified by:
add in interface ListIterator<F>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<F>
Specified by:
hasNext in interface ListIterator<F>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator<F>

next

public F next()
Specified by:
next in interface Iterator<F>
Specified by:
next in interface ListIterator<F>

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator<F>

previous

public F previous()
Specified by:
previous in interface ListIterator<F>

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator<F>

remove

public void remove()
Specified by:
remove in interface Iterator<F>
Specified by:
remove in interface ListIterator<F>

set

public void set(Object e)
Specified by:
set in interface ListIterator<F>


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.