RegexpUtilpublic class RegexpUtil extends Object Regular expression utilities class which handles flag operations. |
Methods Summary |
---|
public static boolean | hasFlag(int options, int flag)Check the options has a particular flag set.
return ((options & flag) > 0);
| public static int | removeFlag(int options, int flag)Remove a particular flag from an int value contains the option flags.
return (options & (0xFFFFFFFF - flag));
|
|