All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yandex.ydb.jdbc.settings.ParsedProperty Maven / Gradle / Ivy

There is a newer version: 1.45.6
Show newest version
package com.yandex.ydb.jdbc.settings;

import java.util.Objects;

public class ParsedProperty {
    private final String rawValue;
    private final Object parsedValue;

    public ParsedProperty(String rawValue, Object parsedValue) {
        this.rawValue = Objects.requireNonNull(rawValue);
        this.parsedValue = Objects.requireNonNull(parsedValue);
    }

    public String getRawValue() {
        return rawValue;
    }

    @SuppressWarnings("unchecked")
    public  T getParsedValue() {
        return (T) parsedValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy