Parameter.java

36 lines | 659 B Blame History Raw Download
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufrgs.inf.prosoft.memoizeit;

/**
 *
 * @author romulo
 */
public class Parameter {

    private final String type;
    private final Object data;

    public Parameter(String type, Object data) {
        this.type = type;
        this.data = data;
    }

    public Object getData() {
        return data;
    }

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return this.data.toString();
    }

}