public GCodeCommand(String command) { // Copy over the command this.command = command; // Initialize the present and value tables this.parameters = new ArrayList<gCodeParameter>(); // Parse (and strip) any comments out into a comment string parseComments(); // Parse any codes out into the code tables parseCodes(); }