Package gw.xml.simple

Class 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>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T _lastRet  
      private java.util.ListIterator<T> _wrapped  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private WrappingListIterator​(java.util.ListIterator<T> wrapped)  
    • Constructor Detail

      • WrappingListIterator

        private WrappingListIterator​(java.util.ListIterator<T> wrapped)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<T extends SimpleXmlNode>
        Specified by:
        hasNext in interface java.util.ListIterator<T extends SimpleXmlNode>
      • next

        public T next()
        Specified by:
        next in interface java.util.Iterator<T extends SimpleXmlNode>
        Specified by:
        next in interface java.util.ListIterator<T extends SimpleXmlNode>
      • hasPrevious

        public boolean hasPrevious()
        Specified by:
        hasPrevious in interface java.util.ListIterator<T extends SimpleXmlNode>
      • previous

        public T previous()
        Specified by:
        previous in interface java.util.ListIterator<T extends SimpleXmlNode>
      • nextIndex

        public int nextIndex()
        Specified by:
        nextIndex in interface java.util.ListIterator<T extends SimpleXmlNode>
      • previousIndex

        public int previousIndex()
        Specified by:
        previousIndex in interface java.util.ListIterator<T extends SimpleXmlNode>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<T extends SimpleXmlNode>
        Specified by:
        remove in interface java.util.ListIterator<T extends SimpleXmlNode>
      • set

        public void set​(T t)
        Specified by:
        set in interface java.util.ListIterator<T extends SimpleXmlNode>
      • add

        public void add​(T t)
        Specified by:
        add in interface java.util.ListIterator<T extends SimpleXmlNode>