@Override
    public boolean equals(final Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof Windowed)) {
            return false;
        }
        final Windowed<?> that = (Windowed) obj;
        return window.equals(that.window) && key.equals(that.key);
    }
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