java.lang.Object
me.gosimple.nbvcxz.resources.CharacterCaseUtil
public class CharacterCaseUtil
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CharacterCaseUtil() -
Method Summary
Modifier and Type Method Description static doublefractionOfStringUppercase(java.lang.String input)Of the characters in the string that have an uppercase form, how many are uppercased?
-
Constructor Details
-
CharacterCaseUtil
public CharacterCaseUtil()
-
-
Method Details
-
fractionOfStringUppercase
public static double fractionOfStringUppercase(java.lang.String input)Of the characters in the string that have an uppercase form, how many are uppercased?- Parameters:
input- Input string.- Returns:
- The fraction of uppercased characters, with
0.0dmeaning that all uppercasable characters are in lowercase and1.0dthat all of them are in uppercase.
-