Class IntLongHashMap.Entry

  • Enclosing class:
    IntLongHashMap

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

      • key

        public final int key
      • value

        public long value
    • Method Detail

      • 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