public static boolean equalsOne ( final char c , final CharSequence match ) { for ( int i = 0 ; i < match . length ( ) ; i ++ ) { char aMatch = match . charAt ( i ) ; if ( c == aMatch ) { return true ; } } return false ; }
Match if one character equals to any of the given character .