@Test public void testStemCaseSensitive() { assertEquals("PREUPPERCASE", new PatternStemmer("^pre", true).stem("PREUPPERCASE")); assertEquals("UPPERCASE", new PatternStemmer("^pre", true).stem("preUPPERCASE")); }
@Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } PatternStemmer(String stripPattern, boolean caseSensitive); }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } PatternStemmer(String stripPattern, boolean caseSensitive); @Override String stem(String dbEntityName); }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } PatternStemmer(String stripPattern, boolean caseSensitive); @Override String stem(String dbEntityName);  }