com.jnape.palatable.lambda.optics.prisms

## Class MaybePrism

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

-     public final class MaybePrism
      extends Object

  `Prisms` for `Maybe`.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <A,B> Prism<Maybe<A>,Maybe<B>,A,B>` | `_just()` A `Prism` that focuses on present values in a `Maybe`.
    `static <A> Prism.Simple<Maybe<A>,Unit>` | `_nothing()` A `Prism` that focuses on absent values in a `Maybe`, for symmetry.

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

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

- - ### Method Detail

    - #### _just

          public static <A,B> Prism<Maybe<A>,Maybe<B>,A,B> _just()

      A `Prism` that focuses on present values in a `Maybe`.
      Type Parameters:
        `A` - `Maybe` the input value
        `B` - `Maybe` the output value
      Returns:
        the `Prism`

    - #### _nothing

          public static <A> Prism.Simple<Maybe<A>,Unit> _nothing()

      A `Prism` that focuses on absent values in a `Maybe`, for symmetry.
      Type Parameters:
        `A` - `Maybe` the input and output value
      Returns:
        the `Prism`