Class DataMap.EntryIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.util.Map.Entry<java.lang.String,​java.lang.Object>>
    Enclosing class:
    DataMap

    final class DataMap.EntryIterator
    extends java.lang.Object
    implements java.util.Iterator<java.util.Map.Entry<java.lang.String,​java.lang.Object>>
    Iterator over the object data key/value map entries.
    • Field Detail

      • nextKeyIndex

        private int nextKeyIndex
        Next index into key names array computed in hasNext() or -1 before hasNext() has been called.
      • nextFieldValue

        private java.lang.Object nextFieldValue
        Next field value computed in hasNext() or null before hasNext() has been called since the last next().
      • isRemoved

        private boolean isRemoved
        Whether remove() has been called since last time next() was called.
      • isComputed

        private boolean isComputed
        Whether the next field has been computed.
      • currentFieldInfo

        private FieldInfo currentFieldInfo
        Current field info found by next() or null before next() has been called.
    • Constructor Detail

      • EntryIterator

        EntryIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,​java.lang.Object>>
      • next

        public java.util.Map.Entry<java.lang.String,​java.lang.Object> next()
        Specified by:
        next in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,​java.lang.Object>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,​java.lang.Object>>