Package com.jogamp.common.util
Class LongObjectHashMap.Entry
- java.lang.Object
-
- 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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
-
-