Class IntLongHashMap.Entry

java.lang.Object
com.jogamp.common.util.IntLongHashMap.Entry
Enclosing class:
IntLongHashMap

public static final class IntLongHashMap.Entry extends Object
An entry mapping a key to a value.
  • Field Details

    • key

      public final int key
    • value

      public long value
  • Method Details

    • getKey

      public int getKey()
      Returns the key of this entry.
    • getValue

      public long getValue()
      Returns the value of this entry.
    • setValue

      public void setValue(long 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