org.axiondb.engine.rowcollection
Class IntHashMap.Entry

java.lang.Object
  extended by org.axiondb.engine.rowcollection.IntHashMap.Entry
Enclosing class:
IntHashMap

public static class IntHashMap.Entry
extends java.lang.Object

This class represents a IntHashMapentry.


Constructor Summary
protected IntHashMap.Entry()
          Default constructor (allows sub-classing).
 
Method Summary
 boolean equals(java.lang.Object that)
          Indicates if this entry is considered equals to the specified entry (default object equality to ensure symetry)
 int getKey()
          Returns the key for this entry.
 IntHashMap.Entry getNextEntry()
          Returns the entry after this one.
 IntHashMap.Entry getPreviousEntry()
          Returns the entry before this one.
 java.lang.Object getValue()
          Returns the value for this entry.
 int hashCode()
          Returns the hash code for this entry.
 java.lang.Object setValue(java.lang.Object value)
          Sets the value for this entry.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntHashMap.Entry

protected IntHashMap.Entry()
Default constructor (allows sub-classing).

Method Detail

equals

public boolean equals(java.lang.Object that)
Indicates if this entry is considered equals to the specified entry (default object equality to ensure symetry)

Overrides:
equals in class java.lang.Object
Parameters:
that - the object to test for equality.
Returns:
true if both entry have equal keys and values. false otherwise.

getKey

public final int getKey()
Returns the key for this entry.

Returns:
the entry key.

getNextEntry

public IntHashMap.Entry getNextEntry()
Returns the entry after this one.

Returns:
the next entry.

getPreviousEntry

public IntHashMap.Entry getPreviousEntry()
Returns the entry before this one.

Returns:
the previous entry.

getValue

public final java.lang.Object getValue()
Returns the value for this entry.

Returns:
the entry value.

hashCode

public int hashCode()
Returns the hash code for this entry.

Overrides:
hashCode in class java.lang.Object
Returns:
this entry hash code.

setValue

public final java.lang.Object setValue(java.lang.Object value)
Sets the value for this entry.

Parameters:
value - the new value.
Returns:
the previous value.