@Test public void testIsAllCapitalLetter() { Assert.assertTrue(StringPattern.recognize("TEST").isAllCapitalLetter()); Assert.assertTrue(StringPattern.recognize("ÄÄÄÜÜÜÖÖÖÖ").isAllCapitalLetter()); Assert.assertFalse(StringPattern.recognize("ÄÄÄÜÜÜÖÖä").isAllCapitalLetter()); Assert.assertFalse(StringPattern.recognize("ÄÄÄÜÜdÜÖÖ").isAllCapitalLetter()); Assert.assertTrue(StringPattern.recognize("ＡＢＣ").isAllCapitalLetter()); Assert.assertFalse(StringPattern.recognize("うウ宇").isAllCapitalLetter()); }
public boolean isAllCapitalLetter() { return (pattern & ALL_CAPITAL_LETTER) > 0; }
StringPattern { public boolean isAllCapitalLetter() { return (pattern & ALL_CAPITAL_LETTER) > 0; } }
StringPattern { public boolean isAllCapitalLetter() { return (pattern & ALL_CAPITAL_LETTER) > 0; } private  StringPattern(int pattern, int digits); }
StringPattern { public boolean isAllCapitalLetter() { return (pattern & ALL_CAPITAL_LETTER) > 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 isAllCapitalLetter() { return (pattern & ALL_CAPITAL_LETTER) > 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();  }