Package org.quartz.impl.matchers
Class NotMatcher<T extends Key<?>>
- java.lang.Object
-
- org.quartz.impl.matchers.NotMatcher<T>
-
- All Implemented Interfaces:
java.io.Serializable,Matcher<T>
public class NotMatcher<T extends Key<?>> extends java.lang.Object implements Matcher<T>
Matches using an NOT operator on another Matcher.- Author:
- jhouse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNotMatcher(Matcher<T> operand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Matcher<T>getOperand()inthashCode()booleanisMatch(T key)static <U extends Key<?>>
NotMatcher<U>not(Matcher<U> operand)Create a NotMatcher that reverses the result of the given matcher.
-
-
-
Method Detail
-
not
public static <U extends Key<?>> NotMatcher<U> not(Matcher<U> operand)
Create a NotMatcher that reverses the result of the given matcher.
-
hashCode
public int hashCode()
-
-