Uses of Class
io.vavr.API.Match.Pattern0
Packages that use API.Match.Pattern0
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of API.Match.Pattern0 in io.vavr
Fields in io.vavr declared as API.Match.Pattern0Modifier and TypeFieldDescriptionstatic final API.Match.Pattern0<Tuple0> Patterns.$Tuple0private static final API.Match.Pattern0<Object> API.Match.Pattern0.ANYprivate final API.Match.Pattern0<T> API.Match.Case0.patternMethods in io.vavr that return API.Match.Pattern0Modifier and TypeMethodDescriptionstatic <T> API.Match.Pattern0<T> API.$()Wildcard pattern, matches any value.static <T> API.Match.Pattern0<T> Guard pattern, checks if a predicate is satisfied.static <T> API.Match.Pattern0<T> API.$(T prototype) Value pattern, checks for equality.static <T> API.Match.Pattern0<List.Nil<T>> Patterns.$Nil()static <T> API.Match.Pattern0<Option.None<T>> Patterns.$None()static <T> API.Match.Pattern0<T> API.Match.Pattern0.any()The greediest match, a catch-allstatic <T> API.Match.Pattern0<T> Static factory for aAPI.Match.Pattern0based on aClassMethods in io.vavr with parameters of type API.Match.Pattern0Modifier and TypeMethodDescriptionstatic <T,R> API.Match.Case <T, R> API.Case(@NonNull API.Match.Pattern0<T> pattern, @NonNull Function<? super T, ? extends R> f) static <T,R> API.Match.Case <T, R> API.Case(@NonNull API.Match.Pattern0<T> pattern, @NonNull Supplier<? extends R> supplier) static <T,R> API.Match.Case <T, R> API.Case(@NonNull API.Match.Pattern0<T> pattern, R retVal) Returns aAPI.Match.Case0instance for a specificAPI.Match.Pattern0and a constant valueConstructors in io.vavr with parameters of type API.Match.Pattern0