com.jnape.palatable.lambda.optics.prisms

## Class EitherPrism

- java.lang.Object
- - com.jnape.palatable.lambda.optics.prisms.EitherPrism

-     public final class EitherPrism
      extends Object

  `Prisms` for `Either`.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <L,R> Prism.Simple<Either<L,R>,L>` | `_left()` A `Prism` that focuses on the `left` value of an `Either`.
    `static <L,R> Prism.Simple<Either<L,R>,R>` | `_right()` A `Prism` that focuses on the `right` value of an `Either`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### _left

          public static <L,R> Prism.Simple<Either<L,R>,L> _left()

      A `Prism` that focuses on the `left` value of an `Either`.
      Type Parameters:
        `L` - the left type
        `R` - the right type
      Returns:
        the `Prism`

    - #### _right

          public static <L,R> Prism.Simple<Either<L,R>,R> _right()

      A `Prism` that focuses on the `right` value of an `Either`.
      Type Parameters:
        `L` - the left type
        `R` - the right type
      Returns:
        the `Prism`