public class RegexpUtil
extends java.lang.Object
Constructor and Description |
---|
RegexpUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasFlag(int options,
int flag)
Check the options has a particular flag set.
|
static int |
removeFlag(int options,
int flag)
Remove a particular flag from an int value contains the option flags.
|
public static boolean hasFlag(int options, int flag)
options
- an int
valueflag
- an int
valuepublic static int removeFlag(int options, int flag)
options
- an int
valueflag
- an int
value