Package com.esotericsoftware.kryo.util
Class CuckooObjectMap.Entries<K,V>
- java.lang.Object
-
- com.esotericsoftware.kryo.util.CuckooObjectMap.Entries<K,V>
-
- All Implemented Interfaces:
java.lang.Iterable<CuckooObjectMap.Entry<K,V>>
,java.util.Iterator<CuckooObjectMap.Entry<K,V>>
- Enclosing class:
- CuckooObjectMap<K,V>
public static class CuckooObjectMap.Entries<K,V> extends java.lang.Object implements java.lang.Iterable<CuckooObjectMap.Entry<K,V>>, java.util.Iterator<CuckooObjectMap.Entry<K,V>>
-
-
Constructor Summary
Constructors Constructor Description Entries(CuckooObjectMap<K,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.Iterator<CuckooObjectMap.Entry<K,V>>
iterator()
CuckooObjectMap.Entry<K,V>
next()
Note the same entry instance is returned each time this method is called.
-
-
-
Constructor Detail
-
Entries
public Entries(CuckooObjectMap<K,V> map)
-
-
Method Detail
-
next
public CuckooObjectMap.Entry<K,V> next()
Note the same entry instance is returned each time this method is called.- Specified by:
next
in interfacejava.util.Iterator<K>
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<K>
-
iterator
public java.util.Iterator<CuckooObjectMap.Entry<K,V>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<K>
-
-