### Question:
TsvUtils { public static Map<Integer, String> loadIntString(InputStream is, boolean hasHeader) throws IOException { Map<Integer, String> map = new HashMap<Integer, String>(); for (List<String> line : new TSVReader(is, hasHeader)) { map.put(parseInt(line.get(0)), line.get(1)); } return map; }  static Map<Integer, String> loadIntString(InputStream is,
            boolean hasHeader); static Map<String, Integer> loadStringInt(InputStream is,
            boolean hasHeader);  }### Answer:
@Test public void test() throws Exception { Map<Integer, String> map = TsvUtils.loadIntString( TsvUtils.class.getResourceAsStream("TsvUtils_int_string.tsv"), false); assertEquals(3, map.size()); assertEquals("bb", map.get(2)); assertEquals("dd", map.get(1)); }