Package | Description |
---|---|
javaslang |
Modifier and Type | Method and Description |
---|---|
<U1> Tuple1<U1> |
Tuple1.map(Function<? super T1,? extends U1> mapper)
Maps the components of this tuple using a mapper function.
|
static <T1> Tuple1<T1> |
Tuple.of(T1 t1)
Creates a tuple of one element.
|
Modifier and Type | Method and Description |
---|---|
static <T1> Comparator<Tuple1<T1>> |
Tuple1.comparator(Comparator<? super T1> t1Comp) |
static <T1,_1 extends T1> |
Patterns.Tuple1(API.Match.Pattern<_1,?> p1) |
default Function1<Tuple1<T1>,R> |
Function1.tupled() |
default CheckedFunction1<Tuple1<T1>,R> |
CheckedFunction1.tupled() |
Modifier and Type | Method and Description |
---|---|
int |
Tuple1.compareTo(Tuple1<T1> that) |
Modifier and Type | Method and Description |
---|---|
static <T,T1 extends U1,U1> |
API.Match.Pattern1.of(Class<? super T> type,
API.Match.Pattern<T1,?> p1,
Function<T,Tuple1<U1>> unapply) |
Copyright © 2016. All Rights Reserved.