public interface StateContextLookup
StateContext from a collection of event arguments.| 限定符和类型 | 方法和说明 |
|---|---|
StateContext |
lookup(java.lang.Object[] eventArgs)
Searches the arguments from an
Event and returns a
StateContext if any of the arguments holds one. |
StateContext lookup(java.lang.Object[] eventArgs)
Event and returns a
StateContext if any of the arguments holds one. NOTE! This method
must create a new StateContext if a compatible object is in
the arguments and the next time that same object is passed to this
method the same StateContext should be returned.eventArgs - The arguments we are looking for