info.codesaway.util.regex
Interface PatternOptions

All Known Implementing Classes:
PatternFlag, PatternFlags

public interface PatternOptions

Superinterface of both PatternFlag and PatternFlags.

Since:
0.2
Author:
Me

Nested Class Summary
static class PatternOptions.StaticMethods
           
 
Method Summary
 PatternFlags and(PatternOptions flags)
           
 java.util.EnumSet<PatternFlag> asEnumSet()
          Gets a copy of the flags as an EnumSet.
 PatternFlags bitwiseNegate()
           
 PatternFlags getFlags()
          Gets a copy of the flags.
 int intValue()
          Returns the flags as an integer.
 PatternFlags minus(PatternOptions flags)
           
 PatternFlags or(PatternOptions flags)
           
 PatternFlags plus(PatternOptions flags)
           
 PatternFlags xor(PatternOptions flags)
           
 

Method Detail

intValue

int intValue()
Returns the flags as an integer.

Returns:
the bitmask of individual flags

getFlags

PatternFlags getFlags()
Gets a copy of the flags.

Returns:
the flags

asEnumSet

java.util.EnumSet<PatternFlag> asEnumSet()
Gets a copy of the flags as an EnumSet.

Returns:
the flags

plus

PatternFlags plus(PatternOptions flags)

minus

PatternFlags minus(PatternOptions flags)

or

PatternFlags or(PatternOptions flags)

and

PatternFlags and(PatternOptions flags)

xor

PatternFlags xor(PatternOptions flags)

bitwiseNegate

PatternFlags bitwiseNegate()