public class AndMatcher<T extends Key<?>> extends Object implements Matcher<T>
Modifier and Type | Field and Description |
---|---|
protected Matcher<T> |
leftOperand |
protected Matcher<T> |
rightOperand |
Modifier | Constructor and Description |
---|---|
protected |
AndMatcher(Matcher<T> leftOperand,
Matcher<T> rightOperand) |
Modifier and Type | Method and Description |
---|---|
static <U extends Key<?>> |
and(Matcher<U> leftOperand,
Matcher<U> rightOperand)
Create an AndMatcher that depends upon the result of both of the given matchers.
|
boolean |
equals(Object obj) |
Matcher<T> |
getLeftOperand() |
Matcher<T> |
getRightOperand() |
int |
hashCode() |
boolean |
isMatch(T key) |
public static <U extends Key<?>> AndMatcher<U> and(Matcher<U> leftOperand, Matcher<U> rightOperand)
public int hashCode()
Copyright 2001-2019, Terracotta, Inc.