Interface Outcome.Mappings

  • Enclosing interface:
    Outcome<T>

    public static interface Outcome.Mappings
    Mappings for different types.
    Since:
    0.17.6
    • Method Detail

      • forType

        <T> Outcome.Mapping<T> forType​(Class<? extends T> tpe)
        Mapping for a type.
        Type Parameters:
        T - Type of result.
        Parameters:
        tpe - Class of result.
        Returns:
        Mapping.