import java.io.*; public class TestDNALookUp { public static void main( String[] args ) throws IOException { TwoWayLookUp tw = TwoWayLookUp.getInstance(); if( args.length == 1 ) { if( args[0].length() < 1 || args[0].length() > 3 ) System.exit(9); String[] result = tw.getDNAFromAminoAcid( args[0] ); if( result == null ) { System.out.println("That didn't correspond to a " + "valid amino acid (3-ltr abbreviation)." ); return; } for( int i=0; i