Class LongToIntHashMap.Entry

  • All Implemented Interfaces:
    java.lang.Comparable<LongToIntHashMap.Entry>, java.util.Map.Entry<java.lang.Long,​java.lang.Integer>
    Enclosing class:
    LongToIntHashMap

    public class LongToIntHashMap.Entry
    extends java.lang.Object
    implements java.util.Map.Entry<java.lang.Long,​java.lang.Integer>, java.lang.Comparable<LongToIntHashMap.Entry>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long key  
      int value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(long key, int value, int index)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(LongToIntHashMap.Entry o)  
      java.lang.Long getKey()  
      java.lang.Integer getValue()  
      java.lang.Integer setValue​(java.lang.Integer value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map.Entry

        equals, hashCode
    • Field Detail

      • key

        public long key
      • value

        public int value
    • Constructor Detail

      • Entry

        public Entry​(long key,
                     int value,
                     int index)
    • Method Detail

      • getKey

        public java.lang.Long getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<java.lang.Long,​java.lang.Integer>
      • getValue

        public java.lang.Integer getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<java.lang.Long,​java.lang.Integer>
      • setValue

        public java.lang.Integer setValue​(java.lang.Integer value)
        Specified by:
        setValue in interface java.util.Map.Entry<java.lang.Long,​java.lang.Integer>