org.quartz.impl.matchers
Class NotMatcher<T extends Key>
java.lang.Object
org.quartz.impl.matchers.NotMatcher<T>
- All Implemented Interfaces:
- Serializable, Matcher<T>
public class NotMatcher<T extends Key>
- extends Object
- implements Matcher<T>
Matches using an NOT operator on another Matcher.
- Author:
- jhouse
- See Also:
- Serialized Form
not(Matcher<U> operand)
Create a NotMatcher that reverses the result of the given matcher. |
operand
protected Matcher<T extends Key> operand
NotMatcher
protected NotMatcher(Matcher<T> operand)
not
public static <U extends Key> NotMatcher<U> not(Matcher<U> operand)
- Create a NotMatcher that reverses the result of the given matcher.
isMatch
public boolean isMatch(T key)
- Specified by:
isMatch
in interface Matcher<T extends Key>
getOperand
public Matcher<T> getOperand()
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Matcher<T extends Key>
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Matcher<T extends Key>
- Overrides:
equals
in class Object
Copyright 2001-2011,
Terracotta, Inc.