// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package dyndi.params;


public class Param2Value<T1, T2> extends Param {
    private T1 value1;
    private T2 value2;
    public Param2Value(String name, T1 value1, T2 value2) {
        super(name);
        this.value1 = value1;
        this.value2 = value2;
    }
    public T1 getValue1() {
        return value1;
    }
    public T2 getValue2() {
        return value2;
    }
    public String getAllValues() {
        return "{ " + value1 + ", " + value2 + " }";
    }
}
