@Test public void testContainsSlash() { Assert.assertTrue(StringPattern.recognize("test/").containsSlash()); Assert.assertTrue(StringPattern.recognize("23/5").containsSlash()); Assert.assertFalse(StringPattern.recognize("test.1-,").containsSlash()); }
public boolean containsSlash() { return (pattern & CONTAINS_SLASH) > 0; }
StringPattern { public boolean containsSlash() { return (pattern & CONTAINS_SLASH) > 0; } }
StringPattern { public boolean containsSlash() { return (pattern & CONTAINS_SLASH) > 0; } private  StringPattern(int pattern, int digits); }
StringPattern { public boolean containsSlash() { return (pattern & CONTAINS_SLASH) > 0; } private  StringPattern(int pattern, int digits); static StringPattern recognize(String token); boolean isAllLetter(); boolean isInitialCapitalLetter(); boolean isAllCapitalLetter(); boolean isAllLowerCaseLetter(); boolean isAllDigit(); boolean isAllHiragana(); boolean isAllKatakana(); int digits(); boolean containsPeriod(); boolean containsComma(); boolean containsSlash(); boolean containsDigit(); boolean containsHyphen(); boolean containsLetters(); }
StringPattern { public boolean containsSlash() { return (pattern & CONTAINS_SLASH) > 0; } private  StringPattern(int pattern, int digits); static StringPattern recognize(String token); boolean isAllLetter(); boolean isInitialCapitalLetter(); boolean isAllCapitalLetter(); boolean isAllLowerCaseLetter(); boolean isAllDigit(); boolean isAllHiragana(); boolean isAllKatakana(); int digits(); boolean containsPeriod(); boolean containsComma(); boolean containsSlash(); boolean containsDigit(); boolean containsHyphen(); boolean containsLetters();  }