private static boolean startsWithCap ( final String word ) { return ! "i" . equalsIgnoreCase ( word ) && isAllowedChar ( word . charAt ( 0 ) ) && isUpperCase ( word . charAt ( 0 ) ) ; }
This method detects if the word s first character is in capital size .