Package classycle.util
Class NotStringPattern
java.lang.Object
classycle.util.NotStringPattern
- All Implemented Interfaces:
 StringPattern
Logical NOT operation on the result of a wrapped 
StringPattern.- Author:
 - Franz-Josef Elmer
 
- 
Constructor Summary
ConstructorsConstructorDescriptionNotStringPattern(StringPattern pattern) Creates an instance based on the specified pattern. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the wrappedStringPatternreturns false and vice-versa.toString() 
- 
Constructor Details
- 
NotStringPattern
Creates an instance based on the specified pattern.- Parameters:
 pattern- Pattern who's matching result will be negate. Must be not null.
 
 - 
 - 
Method Details
- 
matches
Returns true if the wrappedStringPatternreturns false and vice-versa.- Specified by:
 matchesin interfaceStringPattern- Parameters:
 string- String to be matched. Can be null.
 - 
toString
 
 -