Class ObservableHashMap.Entry<K,​V>

    • Constructor Detail

      • Entry

        protected Entry()
    • Method Detail

      • onAdd

        protected void onAdd()
        This method is invoked when the containing Map has actually added this Entry to itself.
        Overrides:
        onAdd in class SafeHashMap.Entry<K,​V>
      • setValue

        public V setValue​(V oValue)
        Update the cached value.
        Specified by:
        setValue in interface Map.Entry<K,​V>
        Overrides:
        setValue in class SafeHashMap.Entry<K,​V>
        Parameters:
        oValue - the new value to cache
        Returns:
        the old cache value
      • onRemove

        protected void onRemove()
        Called to inform the Entry that it has been removed.