code: public void freeListNumber(RtfList list) {
          int i = lists.indexOf(list);
          if(i >= 0) {
              lists.remove(i);
          }
      }
docs: Remove a RtfList from the list of RtfList
  
  @param list The RtfList to remove.