@Test public void sortTest() { checkOrder(EXPECTED_ORDER_DEFAULT); checkOrder(EXPECTED_ORDER_HEPBURN); checkOrder(EXPECTED_ORDER_NIHON); checkOrder(EXPECTED_ORDER_KUNREI); checkOrder(EXPECTED_ORDER_NIHON_CAPITAL); checkOrder(EXPECTED_ORDER_MULTICHAR); }
static void sort(String[] romaji) { Arrays.sort(romaji, new GojuonOrder()); }
GojuonOrder implements Comparator<String> { static void sort(String[] romaji) { Arrays.sort(romaji, new GojuonOrder()); } }
GojuonOrder implements Comparator<String> { static void sort(String[] romaji) { Arrays.sort(romaji, new GojuonOrder()); }  }
GojuonOrder implements Comparator<String> { static void sort(String[] romaji) { Arrays.sort(romaji, new GojuonOrder()); }  @Override int compare(String item1, String item2); }
GojuonOrder implements Comparator<String> { static void sort(String[] romaji) { Arrays.sort(romaji, new GojuonOrder()); }  @Override int compare(String item1, String item2);  }