@Test public void testCompare() { assertEquals(-1, new NaturalOrderComparator().compare("123a", "a")); assertEquals(-1, new NaturalOrderComparator().compare("365", "400")); }
@Override public int compare(final String s1, final String s2) { return collator.compare(s1, s2); }
NaturalOrderComparator implements Comparator<String>, java.io.Serializable { @Override public int compare(final String s1, final String s2) { return collator.compare(s1, s2); } }
NaturalOrderComparator implements Comparator<String>, java.io.Serializable { @Override public int compare(final String s1, final String s2) { return collator.compare(s1, s2); }  }
NaturalOrderComparator implements Comparator<String>, java.io.Serializable { @Override public int compare(final String s1, final String s2) { return collator.compare(s1, s2); }  @Override int compare(final String s1, final String s2); }
NaturalOrderComparator implements Comparator<String>, java.io.Serializable { @Override public int compare(final String s1, final String s2) { return collator.compare(s1, s2); }  @Override int compare(final String s1, final String s2);  }