T
- Type of object to matchpublic final class MatcherOf<T>
extends org.hamcrest.TypeSafeMatcher<T>
There is no thread-safety guarantee.
Constructor and Description |
---|
MatcherOf(Func<T,Boolean> fnc)
Ctor.
|
MatcherOf(Proc<T> proc)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(T item) |
describeMismatch, describeMismatchSafely, matches
Copyright © 2017 Cactoos. All rights reserved.