Package com.atlassian.jira.matchers
Class EitherMatchers
java.lang.Object
com.atlassian.jira.matchers.EitherMatchers
Matcher for
Either
instances.- Since:
- v7.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <L,
R> org.hamcrest.Matcher <io.atlassian.fugue.Either<L, R>> left()
static <L,
R> org.hamcrest.Matcher <io.atlassian.fugue.Either<L, R>> left
(L item) static <L,
R> org.hamcrest.Matcher <io.atlassian.fugue.Either<L, R>> left
(org.hamcrest.Matcher<? super L> matcher) static <L,
R> org.hamcrest.Matcher <io.atlassian.fugue.Either<L, R>> right()
static <L,
R> org.hamcrest.Matcher <io.atlassian.fugue.Either<L, R>> right
(org.hamcrest.Matcher<? super R> matcher) static <L,
R> org.hamcrest.Matcher <io.atlassian.fugue.Either<L, R>> right
(R item)
-
Method Details
-
left
public static <L,R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>> left() -
left
public static <L,R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>> left(L item) -
left
public static <L,R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>> left(org.hamcrest.Matcher<? super L> matcher) -
right
public static <L,R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>> right() -
right
public static <L,R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>> right(R item) -
right
public static <L,R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>> right(org.hamcrest.Matcher<? super R> matcher)
-