com.neeve.util
Class UtlLinkedLongMap.Entry<V>

java.lang.Object
  extended by com.neeve.util.UtlLinkedLongMap.Entry<V>
Enclosing class:
UtlLinkedLongMap<V>

public static final class UtlLinkedLongMap.Entry<V>
extends Object

This class represents a UtlLinkedLongMap entry.


Constructor Summary
UtlLinkedLongMap.Entry()
           
 
Method Summary
 boolean equals(Object that)
          Indicates if this entry is considered equals to the specified entry.
 long getKey()
          Returns the key for this entry.
 V getValue()
          Returns the value for this entry.
 int hashCode()
          Returns the hash code for this entry.
 V setValue(V value)
          Sets the value for this entry.
 String toString()
          Returns the text representation of this entry.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UtlLinkedLongMap.Entry

public UtlLinkedLongMap.Entry()
Method Detail

getKey

public long getKey()
Returns the key for this entry.

Returns:
the entry's key.

getValue

public V getValue()
Returns the value for this entry.

Returns:
the entry's value.

setValue

public V setValue(V value)
Sets the value for this entry.

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

equals

public boolean equals(Object that)
Indicates if this entry is considered equals to the specified entry.

Overrides:
equals in class Object
Parameters:
that - the object to test for equality.
Returns:
true if both entry are considered equal; false otherwise.

hashCode

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

Overrides:
hashCode in class Object
Returns:
this entry's hash code.

toString

public String toString()
Returns the text representation of this entry.

Overrides:
toString in class Object
Returns:
this entry's textual representation.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.