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

io.quarkus.runtime.configuration.ConverterClassHolder Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.runtime.configuration;

import java.util.Objects;

import org.eclipse.microprofile.config.spi.Converter;

final class ConverterClassHolder {
    Class type;
    Class> converterType;

    public ConverterClassHolder(Class type, Class> converterType) {
        this.type = type;
        this.converterType = converterType;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        ConverterClassHolder that = (ConverterClassHolder) o;
        return Objects.equals(type, that.type) &&
                Objects.equals(converterType, that.converterType);
    }

    @Override
    public int hashCode() {
        return Objects.hash(type, converterType);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy