public Window window() {
        return window;
    }
Return the window containing the values associated with this key.

@return the window containing the values
streams/src/main/java/org/apache/kafka/streams/kstream/Windowed.java