Package com.qfs.dic

Interface IConcurrentDictionary.IDictionaryAction<K>

  • Enclosing interface:
    IConcurrentDictionary<K>

    public static interface IConcurrentDictionary.IDictionaryAction<K>
    A Single-Abstract-Method interface used to provide a callback in response to a dictionary action.
    Author:
    ActiveViam
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void execute​(K key, int hash, int position)
      Callback method that executes the action in response to a dictionary action.
    • Method Detail

      • execute

        void execute​(K key,
                     int hash,
                     int position)
        Callback method that executes the action in response to a dictionary action.

        WARNING: This method may be called concurrently for different positions.

        Parameters:
        key - the key stored in the dictionary
        hash - The hash value associated with this key in the dictionary
        position - this key's position in the dictionary