| Modifier | Constructor and Description |
|---|---|
protected |
KeyMatcher(T compareTo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
T |
getCompareToValue() |
int |
hashCode() |
boolean |
isMatch(T key) |
static <U extends Key<U>> |
keyEquals(U compareTo)
Create a KeyMatcher that matches Keys that equal the given key.
|
public boolean equals(Object o)
public int hashCode()
public static <U extends Key<U>> KeyMatcher<U> keyEquals(U compareTo)
Copyright © 2016–2021 Philip Helger. All rights reserved.