// 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) 
public class Data {
    private int iv;
    private String sv;

    public Data() {
        iv = 0;
        sv = "";
    }
    
    public Data(int iv, String sv) {
        this.iv = iv;
        this.sv = sv;    
    }
    
    public void setIv(int iv) {
        this.iv = iv;
    }

    public int getIv() {
        return iv;
    }

    public void setSv(String sv) {
        this.sv = sv;
    }

    public String getSv() {
        return sv;
    }
    
    public Object clone() {
        Data res = new Data();
        res.iv = iv;
        res.sv = new String(sv);
        return res;
    }
}
