Code example for Vector

Methods: toString

0
        if (type.compareTo("String") == 0)
            return name + " " + values.toString();
        else if (type.compareTo("Integer") == 0)
            return name + " " + values.toString();
        else if (type.compareTo("XMP") == 0)
            return values.toString();
        else 
            return name + ":type:" + type + "/\n" + values;
    } 
 
}