Package | Description |
---|---|
javaslang |
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<T> |
API.Match.Pattern0.any() |
static <T> API.Match.Pattern0<List.Nil<T>> |
Patterns.List() |
static <T> API.Match.Pattern0<Option.None<T>> |
Patterns.None() |
static <T> API.Match.Pattern0<T> |
API.Match.Pattern0.of(Class<? super T> type) |
static <T> API.Match.Pattern0<Stream.Empty<T>> |
Patterns.Stream() |
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 © 2016. All Rights Reserved.