com.samskivert.util
Class HashIntMap.Record<V>

java.lang.Object
  extended by com.samskivert.util.HashIntMap.Record<V>
All Implemented Interfaces:
IntMap.IntEntry<V>, Map.Entry<Integer,V>
Enclosing class:
HashIntMap<V>

protected static class HashIntMap.Record<V>
extends Object
implements Map.Entry<Integer,V>, IntMap.IntEntry<V>


Field Summary
 int key
           
 HashIntMap.Record<V> next
           
 V value
           
 
Constructor Summary
HashIntMap.Record(int key, V value)
           
 
Method Summary
 boolean equals(Object o)
           
 int getIntKey()
           
 Integer getKey()
           
 V getValue()
           
 int hashCode()
           
 V setValue(V value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

next

public HashIntMap.Record<V> next

key

public int key

value

public V value
Constructor Detail

HashIntMap.Record

public HashIntMap.Record(int key,
                         V value)
Method Detail

getKey

public Integer getKey()
Specified by:
getKey in interface Map.Entry<Integer,V>

getIntKey

public int getIntKey()
Specified by:
getIntKey in interface IntMap.IntEntry<V>

getValue

public V getValue()
Specified by:
getValue in interface Map.Entry<Integer,V>

setValue

public V setValue(V value)
Specified by:
setValue in interface Map.Entry<Integer,V>

equals

public boolean equals(Object o)
Specified by:
equals in interface Map.Entry<Integer,V>
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<Integer,V>
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.