Package org.quartz.impl.matchers
Class AndMatcher<T extends Key<?>>
- java.lang.Object
-
- org.quartz.impl.matchers.AndMatcher<T>
-
- All Implemented Interfaces:
java.io.Serializable,Matcher<T>
public class AndMatcher<T extends Key<?>> extends java.lang.Object implements Matcher<T>
Matches using an AND operator on two Matcher operands.- Author:
- jhouse
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Matcher<T>leftOperandprotected Matcher<T>rightOperand
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndMatcher(Matcher<T> leftOperand, Matcher<T> rightOperand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <U extends Key<?>>
AndMatcher<U>and(Matcher<U> leftOperand, Matcher<U> rightOperand)Create an AndMatcher that depends upon the result of both of the given matchers.booleanequals(java.lang.Object obj)Matcher<T>getLeftOperand()Matcher<T>getRightOperand()inthashCode()booleanisMatch(T key)
-
-
-
Method Detail
-
and
public static <U extends Key<?>> AndMatcher<U> and(Matcher<U> leftOperand, Matcher<U> rightOperand)
Create an AndMatcher that depends upon the result of both of the given matchers.
-
hashCode
public int hashCode()
-
-