public static void write(final Iterable<HighScoringPair> hsps, final PrintWriter writer) {
        checkNotNull(hsps);
        checkNotNull(writer);
        for (HighScoringPair hsp : hsps) {
            writer.println(hsp.toString());
        }
    }
public static void write ( final Iterable < HighScoringPair > hsps , final PrintWriter writer ) { checkNotNull ( hsps ) ; checkNotNull ( writer ) ; for ( HighScoringPair hsp : hsps ) { writer . println ( hsp . toString ( ) ) ; } }
Write zero or more high-scoring segment pairs with the specified print writer.

@param hsps zero or more high-scoring segment pairs to write, must not be null
@param writer print writer to write high-scoring segment pairs with, must not be null