com.esotericsoftware.kryo.util
Class ObjectMap.Entries<K,V>

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

public static class ObjectMap.Entries<K,V>
extends java.lang.Object
implements java.lang.Iterable<ObjectMap.Entry<K,V>>, java.util.Iterator<ObjectMap.Entry<K,V>>


Field Summary
protected  ObjectMap.Entry<K,V> entry
           
 
Constructor Summary
ObjectMap.Entries(ObjectMap<K,V> map)
           
 
Method Summary
 boolean hasNext()
           
 java.util.Iterator<ObjectMap.Entry<K,V>> iterator()
           
 ObjectMap.Entry<K,V> next()
          Note the same entry instance is returned each time this method is called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
remove
 

Field Detail

entry

protected ObjectMap.Entry<K,V> entry
Constructor Detail

ObjectMap.Entries

public ObjectMap.Entries(ObjectMap<K,V> map)
Method Detail

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 java.util.Iterator<ObjectMap.Entry<K,V>>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<ObjectMap.Entry<K,V>>

iterator

public java.util.Iterator<ObjectMap.Entry<K,V>> iterator()
Specified by:
iterator in interface java.lang.Iterable<ObjectMap.Entry<K,V>>