Class EitherMatchers

java.lang.Object
com.atlassian.jira.matchers.EitherMatchers

public final class EitherMatchers extends Object
Matcher for Either instances.
Since:
v7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    static <L, R> org.hamcrest.Matcher<io.atlassian.fugue.Either<L,R>>
     
    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>>
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)