@Override
    public int hashCode() {

        int result = (isFaultStream ? 1 : 0);
        result = 31 * result + (isInnerStream ? 1 : 0);
        result = 31 * result + (streamId != null ? streamId.hashCode() : 0);
        result = 31 * result + (streamReferenceId != null ? streamReferenceId.hashCode() : 0);
        result = 31 * result + (streamHandlers != null ? streamHandlers.hashCode() : 0);
        result = 31 * result + windowPosition;
        return result;
    }
Single input stream using only filters and functions
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/input/stream/SingleInputStream.java