Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean hasUpperCase(String word) {
- if (null != word)
- return any(charactersOf(word), new Predicate() {
- public boolean apply(Character c) {
- return isUpperCase(c);
- }
- })
- else
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement