PatternExtractor

public interface PatternExtractor<P, V> extends KompicsEvent

This interface must be implemented by classes that act as context for MatchedHandlers.

Author:

Lars Kroll <lkroll@kth.se>

Parameters:
  • <P> – The type pattern to match against
  • <V> – The type of the value to extract if the pattern is matched

Methods

extractPattern

public P extractPattern()

extractValue

public V extractValue()