/** GPPair.java * J Scott Cameron * This class holds a pair of strings * one is the name of a class member * and the other is the string to be * printed when the member is represented * in a function */ public class GPPair { String name;/* name of Member */ String sign;/* sign to be printed */ /* default constuctor */ public GPPair() { name = new String(""); sign = new String(""); } /* parameterized constructor */ public GPPair(String name, String sign) { this.name = name; this.sign = sign; } /* copy constructor */ public GPPair(GPPair gpp) { name = gpp.name; sign = gpp.sign; } }