com.jogamp.common.util
Class LongObjectHashMap.Entry

java.lang.Object
  extended by com.jogamp.common.util.LongObjectHashMap.Entry
Enclosing class:
LongObjectHashMap

public static final class LongObjectHashMap.Entry
extends Object

An entry mapping a key to a value.


Field Summary
 long key
           
 Object value
           
 
Method Summary
 long getKey()
          Returns the key of this entry.
 Object getValue()
          Returns the value of this entry.
 void setValue(Object value)
          Sets the value for this entry.
 String toString()
           
 StringBuilder toString(StringBuilder sb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public final long key

value

public Object value
Method Detail

getKey

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


getValue

public Object getValue()
Returns the value of this entry.


setValue

public void setValue(Object value)
Sets the value for this entry.


toString

public StringBuilder toString(StringBuilder sb)
Parameters:
sb - if null, a new StringBuilder is created
Returns:
StringBuilder instance with appended string information of this Entry

toString

public String toString()
Overrides:
toString in class Object