Package com.esotericsoftware.kryo.util
Class CuckooObjectMap.Values<V>
- java.lang.Object
-
- com.esotericsoftware.kryo.util.CuckooObjectMap.Values<V>
-
- All Implemented Interfaces:
java.lang.Iterable<V>
,java.util.Iterator<V>
- Enclosing class:
- CuckooObjectMap<K,V>
public static class CuckooObjectMap.Values<V> extends java.lang.Object implements java.lang.Iterable<V>, java.util.Iterator<V>
-
-
Constructor Summary
Constructors Constructor Description Values(CuckooObjectMap<?,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.Iterator<V>
iterator()
V
next()
java.util.ArrayList<V>
toArray()
Returns a new array containing the remaining values.void
toArray(java.util.ArrayList<V> array)
Adds the remaining values to the specified array.
-
-
-
Constructor Detail
-
Values
public Values(CuckooObjectMap<?,V> map)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<V>
-
iterator
public java.util.Iterator<V> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<V>
-
toArray
public java.util.ArrayList<V> toArray()
Returns a new array containing the remaining values.
-
toArray
public void toArray(java.util.ArrayList<V> array)
Adds the remaining values to the specified array.
-
-