public Pattern < T , F > within ( Time windowTime ) { if ( windowTime != null ) { this . windowTime = windowTime ; } return this ; }
Defines the maximum time interval in which a matching pattern has to be completed in order to be considered valid . This interval corresponds to the maximum time gap between first and the last event .