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

hex.genmodel.attributes.parameters.KeyValue Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
package hex.genmodel.attributes.parameters;

import java.io.Serializable;

public class KeyValue implements Serializable {
    
    public final String key;
    public final double value;

    public KeyValue(String key, double value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public double getValue() {
        return value;
    }

    @Override
    public String toString() {
        return "{Key: " + key + ", Value: " + value + "}";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy