code: public List<TransportCandidate> getCandidatesList() {
          List<TransportCandidate> result;
  
          synchronized (candidates) {
              result = new ArrayList<>(candidates);
          }
  
          return result;
      }
docs: Get the list of candidates.
  
  @return the list of transport candidates