@FunctionalInterface
public interface MappingCandidate<I,P>
| Modifier and Type | Method and Description |
|---|---|
static <I,P> @NotNull MappingCandidate<I,P> |
empty() |
@NotNull java.util.Optional<Outcome<I,P>> |
examine(I input) |
static <I,P> @NotNull MappingCandidate<I,P> |
present(@NotNull java.util.function.Function<? super I,? extends Outcome<I,P>> transform) |
@NotNull static <I,P> @NotNull MappingCandidate<I,P> empty()
@NotNull static <I,P> @NotNull MappingCandidate<I,P> present(@NotNull @NotNull java.util.function.Function<? super I,? extends Outcome<I,P>> transform)