public class NotMatcher<T extends Key<?>> extends Object implements Matcher<T>
Modifier | Constructor and Description |
---|---|
protected |
NotMatcher(Matcher<T> operand) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Matcher<T> |
getOperand() |
int |
hashCode() |
boolean |
isMatch(T key) |
static <U extends Key<?>> |
not(Matcher<U> operand)
Create a NotMatcher that reverses the result of the given matcher.
|
public static <U extends Key<?>> NotMatcher<U> not(Matcher<U> operand)
public int hashCode()
Copyright 2001-2019, Terracotta, Inc.