CTL
Class ObjectMapEntry

java.lang.Object
  extended by CTL.ObjectMapEntry

public class ObjectMapEntry
extends java.lang.Object

Entry in an ObjectMap


Field Summary
private  int hashCode
          Hash code of the object
private  java.lang.Object object
          The object itself
 
Constructor Summary
ObjectMapEntry(int hash, java.lang.Object obj)
          Generate a new ObjectMapEntry
 
Method Summary
 int getHash()
          Retrieve the hash code of this object
 java.lang.Object getObj()
          Retrieve the object itself
 java.lang.String toString()
          Retrieve a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hashCode

private int hashCode
Hash code of the object


object

private java.lang.Object object
The object itself

Constructor Detail

ObjectMapEntry

public ObjectMapEntry(int hash,
                      java.lang.Object obj)
Generate a new ObjectMapEntry

Parameters:
hash - Hash code
obj - Object
Method Detail

getHash

public int getHash()
Retrieve the hash code of this object

Returns:
Hash code

getObj

public java.lang.Object getObj()
Retrieve the object itself

Returns:
Object

toString

public java.lang.String toString()
Retrieve a string representation of this object

Overrides:
toString in class java.lang.Object
Returns:
String