Interface IntentSetMultimap


  • @Beta
    public interface IntentSetMultimap
    • Method Detail

      • allocateMapping

        boolean allocateMapping​(IntentId keyIntentId,
                                IntentId valIntentId)
        Allocates the mapping between the given intents.
        Parameters:
        keyIntentId - key intent ID
        valIntentId - value intent ID
        Returns:
        true if mapping was successful, false otherwise
      • getMapping

        java.util.Set<IntentId> getMapping​(IntentId intentId)
        Returns the set of intents mapped to a lower intent.
        Parameters:
        intentId - intent ID
        Returns:
        set of intent IDs
      • releaseMapping

        void releaseMapping​(IntentId intentId)
        Releases the mapping of the given intent.
        Parameters:
        intentId - intent ID