@Test public void testHm () throws Exception { CapitalLettersMatcher matcher = new CapitalLettersMatcher(); assertTrue(matcher.matches("AbCdEEfG", "Ab Cd Eef G")); matcher.setMinRatio(1); assertFalse(matcher.matches("AbCdEEfG", "Ab Cd Eef G")); }
@Override public boolean matches(String s1, String s2) { if (s1 == null && s2 == null) return true; return super.matches(this.removeNonCaps.transform(s1), this.removeNonCaps.transform(s2)); }
CapitalLettersMatcher extends CommonTokensMatcher { @Override public boolean matches(String s1, String s2) { if (s1 == null && s2 == null) return true; return super.matches(this.removeNonCaps.transform(s1), this.removeNonCaps.transform(s2)); } }
CapitalLettersMatcher extends CommonTokensMatcher { @Override public boolean matches(String s1, String s2) { if (s1 == null && s2 == null) return true; return super.matches(this.removeNonCaps.transform(s1), this.removeNonCaps.transform(s2)); } CapitalLettersMatcher(); }
CapitalLettersMatcher extends CommonTokensMatcher { @Override public boolean matches(String s1, String s2) { if (s1 == null && s2 == null) return true; return super.matches(this.removeNonCaps.transform(s1), this.removeNonCaps.transform(s2)); } CapitalLettersMatcher(); @Override boolean matches(String s1, String s2); @Override void setDelimiter(String delimiter); @Override boolean isExact(); @Override String getExecutionReport(); }
CapitalLettersMatcher extends CommonTokensMatcher { @Override public boolean matches(String s1, String s2) { if (s1 == null && s2 == null) return true; return super.matches(this.removeNonCaps.transform(s1), this.removeNonCaps.transform(s2)); } CapitalLettersMatcher(); @Override boolean matches(String s1, String s2); @Override void setDelimiter(String delimiter); @Override boolean isExact(); @Override String getExecutionReport();  }