public void setEvent(StateEvent matchingStateEvent) {
        if (matchingStateEvent != null) {
            System.arraycopy(matchingStateEvent.getStreamEvents(), 0, streamEvents, 0,
                    matchingStateEvent.getStreamEvents().length);
        } else {
            for (int i = 0; i < streamEvents.length - 1; i++) {
                streamEvents[i] = null;
            }
        }
    }
State Event holder used by {@link InConditionExpressionExecutor}
modules/siddhi-core/src/main/java/io/siddhi/core/util/collection/FinderStateEvent.java