@Override
    public boolean equals(Object o) {

        if (this == o) {
            return true;
        }
        if (!(o instanceof EveryStateElement)) {
            return false;
        }

        EveryStateElement that = (EveryStateElement) o;

        if (stateElement != null ? !stateElement.equals(that.stateElement) : that.stateElement != null) {
            return false;
        }
        return true;
    }
Every state element used in patterns to trigger repeated operations
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/input/state/EveryStateElement.java