public GuacamoleInstruction(String opcode,List<String> args){
  this.opcode=opcode;
  this.args=Collections.unmodifiableList(args);
}

public GuacamoleInstruction ( String opcode , List < String > args ) { this . opcode = opcode ; this . args = Collections . unmodifiableList ( args ) ; }
creates a new guacamoleinstruction having the given operation and list of arguments values . the list given will be used to back the internal list of arguments and the list returned by getargs ( ) .
