@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final LeftOrRightValue<?, ?> that = (LeftOrRightValue<?, ?>) o;
        return Objects.equals(leftValue, that.leftValue) &&
            Objects.equals(rightValue, that.rightValue);
    }
Create a new {@link LeftOrRightValue} instance with the V2 value as {@code rightValue} and
V1 value as null.

@param rightValue the right V2 value
@param <V2>       the type of the value
@return a new {@link LeftOrRightValue} instance
streams/src/main/java/org/apache/kafka/streams/state/internals/LeftOrRightValue.java