code: public void addState(String name, String code)
      {
      	states.add(new State(this, name, code));
      }
docs: <p>addState.</p>
  
  @param name a {@link java.lang.String} object.
  @param code a {@link java.lang.String} object.