Class IntLongHashMap.Entry

  • Enclosing class:

    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)
        sb - if null, a new StringBuilder is created
        StringBuilder instance with appended string information of this Entry