code: public void setRobots(java.util.Collection<Robot> robots) {
          if (robots == null) {
              this.robots = null;
              return;
          }
  
          this.robots = new java.util.ArrayList<Robot>(robots);
      }
docs: <p>
  A list of robots.
  </p>
  
  @param robots
  A list of robots.