org.quartz.impl.matchers
Class OrMatcher<T extends Key<?>>
java.lang.Object
org.quartz.impl.matchers.OrMatcher<T>
- All Implemented Interfaces:
- Serializable, Matcher<T>
public class OrMatcher<T extends Key<?>>
- extends Object
- implements Matcher<T>
Matches using an OR operator on two Matcher operands.
- Author:
- jhouse
- See Also:
- Serialized Form
leftOperand
protected Matcher<T extends Key<?>> leftOperand
rightOperand
protected Matcher<T extends Key<?>> rightOperand
OrMatcher
protected OrMatcher(Matcher<T> leftOperand,
Matcher<T> rightOperand)
or
public static <U extends Key<?>> OrMatcher<U> or(Matcher<U> leftOperand,
Matcher<U> rightOperand)
- Create an OrMatcher that depends upon the result of at least one of the given matchers.
isMatch
public boolean isMatch(T key)
- Specified by:
isMatch
in interface Matcher<T extends Key<?>>
getLeftOperand
public Matcher<T> getLeftOperand()
getRightOperand
public Matcher<T> getRightOperand()
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-2019, Terracotta, Inc.