Class ObjectMap.Entries<K,V>

java.lang.Object
com.esotericsoftware.kryo.util.ObjectMap.Entries<K,V>
All Implemented Interfaces:
Iterable<ObjectMap.Entry<K,V>>, Iterator<ObjectMap.Entry<K,V>>
Enclosing class:
ObjectMap<K,V>

public static class ObjectMap.Entries<K,V> extends Object implements Iterable<ObjectMap.Entry<K,V>>, Iterator<ObjectMap.Entry<K,V>>
  • Field Details

    • entry

      protected ObjectMap.Entry<K,V> entry
    • hasNext

      public boolean hasNext
    • map

      protected final ObjectMap<K,V> map
    • nextIndex

      protected int nextIndex
  • Constructor Details

  • Method Details

    • next

      public ObjectMap.Entry<K,V> next()
      Note the same entry instance is returned each time this method is called.
      Specified by:
      next in interface Iterator<K>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<K>
    • iterator

      public Iterator<ObjectMap.Entry<K,V>> iterator()
      Specified by:
      iterator in interface Iterable<K>
    • reset

      public void reset()
    • advance

      protected void advance()
    • remove

      public void remove()