code: public void add(Mtp2 link) {
          // add link at the first empty place
          for (int i = 0; i < links.length; i++) {
              if (links[i] == null) {
                  links[i] = link;
                  break;
              }
          }
          count++;
          remap();
      }
docs: Adds link to this link set.
  
  @param link the link to add