Package com.jogamp.common.util
Class IntObjectHashMap.Entry
- java.lang.Object
-
- com.jogamp.common.util.IntObjectHashMap.Entry
-
- Enclosing class:
- IntObjectHashMap
public static final class IntObjectHashMap.Entry extends Object
An entry mapping a key to a value.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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 int key
-
value
public Object value
-
-
Method Detail
-
getKey
public int 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
-
-