Errai 3.0.1-SNAPSHOT

org.jboss.errai.databinding.client
Class BindableListWrapper.BindableListIterator

java.lang.Object
  extended by org.jboss.errai.databinding.client.BindableListWrapper.BindableListIterator
All Implemented Interfaces:
Iterator<M>, ListIterator<M>
Enclosing class:
BindableListWrapper<M>

public class BindableListWrapper.BindableListIterator
extends Object
implements ListIterator<M>, Iterator<M>

Wraps an Iterator or ListIterator to notify change handlers of all operations that mutate the underlying list.


Constructor Summary
BindableListWrapper.BindableListIterator()
           
BindableListWrapper.BindableListIterator(int index)
           
 
Method Summary
 void add(M e)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 M next()
           
 int nextIndex()
           
 M previous()
           
 int previousIndex()
           
 void remove()
           
 void set(M e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindableListWrapper.BindableListIterator

public BindableListWrapper.BindableListIterator()

BindableListWrapper.BindableListIterator

public BindableListWrapper.BindableListIterator(int index)
Method Detail

hasNext

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

next

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

hasPrevious

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

previous

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

nextIndex

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

previousIndex

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

remove

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

set

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

add

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

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.