|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectclassycle.util.NotStringPattern
Logical NOT operation on the result of a wrapped StringPattern.
| Constructor Summary | |
NotStringPattern(StringPattern pattern)
Creates an instance based on the specified pattern. |
|
| Method Summary | |
boolean |
matches(java.lang.String string)
Returns true if the wrapped StringPattern returns
false and vice-versa. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NotStringPattern(StringPattern pattern)
pattern - Pattern who's matching result will be negate.
Must be not null.| Method Detail |
public boolean matches(java.lang.String string)
StringPattern returns
false and vice-versa.
matches in interface StringPatternstring - String to be matched. Can be null.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||