public class OptionalMatch<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Optional<T> |
expected |
(package private) T |
matched |
Constructor and Description |
---|
OptionalMatch(Optional<T> expected) |
Modifier and Type | Method and Description |
---|---|
T |
getMatch() |
boolean |
match(T other) |
void |
reset() |