0.10.8-alpha
ca.uqac.lif.cep.Stateful Interface Reference

Interface implemented by processors that can publicly expose a token equivalent to their internal state. More...

Public Member Functions

Object getState () throws UnsupportedOperationException
 Gets the token corresponding to the processor's internal state. More...
 

Detailed Description

Interface implemented by processors that can publicly expose a token equivalent to their internal state.

This token can be an arbitrary object, including null. However, it must follow this condition: if two processor instances π1 and π2 (of the same class) respectively return two state tokens s1 and s2 such that s1.equals(s2) == true, then for any sequence of inputs, π1 and π2 must generate the same output.

Author
Sylvain Hallé
Since
0.11

Definition at line 34 of file Stateful.java.

Member Function Documentation

◆ getState()


The documentation for this interface was generated from the following file: