com.esotericsoftware.kryo.util
Class IdentityMap.Values<V>

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

public static class IdentityMap.Values<V>
extends java.lang.Object
implements java.lang.Iterable<V>, java.util.Iterator<V>


Constructor Summary
IdentityMap.Values(IdentityMap<?,V> map)
           
 
Method Summary
 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)
          Returns a new array containing the remaining values.
 
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
 

Constructor Detail

IdentityMap.Values

public IdentityMap.Values(IdentityMap<?,V> map)
Method Detail

hasNext

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

next

public V next()
Specified by:
next in interface java.util.Iterator<V>

iterator

public java.util.Iterator<V> iterator()
Specified by:
iterator in interface java.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)
Returns a new array containing the remaining values.