Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
Modifier and Type | Field and Description |
---|---|
static API.Match.Pattern0<Tuple0> |
Patterns.$Tuple0 |
Modifier and Type | Method and Description |
---|---|
static <T> API.Match.Pattern0<T> |
API.$()
Wildcard pattern, matches any value.
|
static <T> API.Match.Pattern0<T> |
API.$(Predicate<? super T> predicate)
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() |
static <T> API.Match.Pattern0<T> |
API.Match.Pattern0.of(Class<? super T> type) |
Modifier and Type | Method and Description |
---|---|
static <T,R> API.Match.Case<T,R> |
API.Case(API.Match.Pattern0<T> pattern,
Function<? super T,? extends R> f) |
static <T,R> API.Match.Case<T,R> |
API.Case(API.Match.Pattern0<T> pattern,
R retVal) |
static <T,R> API.Match.Case<T,R> |
API.Case(API.Match.Pattern0<T> pattern,
Supplier<? extends R> supplier) |
Copyright © 2020. All Rights Reserved.