Package gw.xml.simple
Class XmlChildList.WrappingListIterator
- java.lang.Object
-
- gw.xml.simple.XmlChildList.WrappingListIterator
-
- All Implemented Interfaces:
java.util.Iterator<T>,java.util.ListIterator<T>
- Enclosing class:
- XmlChildList<T extends SimpleXmlNode>
private class XmlChildList.WrappingListIterator extends java.lang.Object implements java.util.ListIterator<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateWrappingListIterator(java.util.ListIterator<T> wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T t)booleanhasNext()booleanhasPrevious()Tnext()intnextIndex()Tprevious()intpreviousIndex()voidremove()voidset(T t)
-
-
-
Field Detail
-
_wrapped
private java.util.ListIterator<T extends SimpleXmlNode> _wrapped
-
_lastRet
private T extends SimpleXmlNode _lastRet
-
-
Constructor Detail
-
WrappingListIterator
private WrappingListIterator(java.util.ListIterator<T> wrapped)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T extends SimpleXmlNode>- Specified by:
hasNextin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
next
public T next()
- Specified by:
nextin interfacejava.util.Iterator<T extends SimpleXmlNode>- Specified by:
nextin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
previous
public T previous()
- Specified by:
previousin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T extends SimpleXmlNode>- Specified by:
removein interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
set
public void set(T t)
- Specified by:
setin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
add
public void add(T t)
- Specified by:
addin interfacejava.util.ListIterator<T extends SimpleXmlNode>
-
-