Created
September 19, 2012 11:40
-
-
Save tfnico/3749221 to your computer and use it in GitHub Desktop.
whitechars.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static ImmutableSet<Character> findInvalidChars(String name, ImmutableSet<Character> validCharSet) { | |
return Sets.difference(stringToCharSet(name), validCharSet).immutableCopy(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment