Class MapToolkit.IntEntry<K>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private IntEntry​(K key)  
    • Field Detail

      • value

        private int value
    • Constructor Detail

      • IntEntry

        private IntEntry​(K key)
    • Method Detail

      • compareTo

        public int compareTo​(MapToolkit.IntEntry<K> o)
        Specified by:
        compareTo in interface java.lang.Comparable<K>
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getValue

        public int getValue()
        Get the entry value.
        Returns:
        the value corresponding to this entry
      • setValue

        public void setValue​(int value)
        Set the entry value.
        Parameters:
        value - the value corresponding to this entry