code: public static void write(final HighScoringPair hsp, final PrintWriter writer) {
          checkNotNull(hsp);
          checkNotNull(writer);
          writer.println(hsp.toString());
      }
docs: Write the specified high-scoring segment pair with the specified print writer.
  
  @param hsp high-scoring segment pair to write, must not be null
  @param writer print writer to write high-scoring segment pair with, must not be null