code: public TransportCandidate getCandidate(int i) {
          TransportCandidate cand;
  
          synchronized (candidates) {
              cand = candidates.get(i);
          }
          return cand;
      }
docs: Get the n-th candidate.
  
  @return a transport candidate