Package io.atlassian.fugue.hamcrest
Class EitherMatchers.RightMatcher<R>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<Either<?,R>>
-
- io.atlassian.fugue.hamcrest.EitherMatchers.RightMatcher<R>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<Either<?,R>>,org.hamcrest.SelfDescribing
- Enclosing class:
- EitherMatchers
private static class EitherMatchers.RightMatcher<R> extends org.hamcrest.TypeSafeMatcher<Either<?,R>>
-
-
Field Summary
Fields Modifier and Type Field Description private org.hamcrest.Matcher<? super R>subMatcher
-
Constructor Summary
Constructors Modifier Constructor Description privateRightMatcher(org.hamcrest.Matcher<? super R> subMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddescribeMismatchSafely(Either<?,R> actual, org.hamcrest.Description mismatchDescription)voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(Either<?,R> actual)
-
-
-
Field Detail
-
subMatcher
private final org.hamcrest.Matcher<? super R> subMatcher
-
-
Constructor Detail
-
RightMatcher
private RightMatcher(org.hamcrest.Matcher<? super R> subMatcher)
-
-