Class Object2ObjectHashMap.EntryIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.util.Map.Entry<K,​V>>, java.util.Map.Entry<K,​V>
    Enclosing class:
    Object2ObjectHashMap<K,​V>

    public final class Object2ObjectHashMap.EntryIterator
    extends Object2ObjectHashMap.AbstractIterator
    implements java.util.Iterator<java.util.Map.Entry<K,​V>>, java.util.Map.Entry<K,​V>
    An iterator over entries.
    • Constructor Detail

      • EntryIterator

        public EntryIterator()
    • Method Detail

      • getKey

        public K getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<K,​V>
      • getValue

        public V getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<K,​V>
      • setValue

        public V setValue​(V value)
        Specified by:
        setValue in interface java.util.Map.Entry<K,​V>
      • next

        public java.util.Map.Entry<K,​V> next()
        Specified by:
        next in interface java.util.Iterator<java.util.Map.Entry<K,​V>>
      • allocateDuplicateEntry

        private java.util.Map.Entry<K,​V> allocateDuplicateEntry()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map.Entry<K,​V>
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Map.Entry<K,​V>
        Overrides:
        equals in class java.lang.Object