org.jboss.errai.databinding.client
Class BindableListWrapper.BindableListIterator
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindableListWrapper.BindableListIterator
public BindableListWrapper.BindableListIterator()
BindableListWrapper.BindableListIterator
public BindableListWrapper.BindableListIterator(int index)
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>
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.