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.
  • Field Details

    • key

      public final long key
    • value

      public Object value
  • Method Details

    • 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