Package | Description |
---|---|
org.ujorm.tools.common |
Modifier and Type | Method and Description |
---|---|
default <F> Joinable<D,F> |
Joinable.add(Joinable<R,F> next)
Send a result of the first function to the next one.
|
static <D,R> Joinable<D,R> |
Joinable.of(Function<D,R> fce)
Create a joinable function
|
static <D,R> Joinable<D,R> |
StreamUtils.toJoinable(Function<D,R> fce)
Create a joinable function
Usage
Function<Person, String> nameProvider = Joinable
.of (Person::getBoss)
.add(Person::getBoss)
.add(Person::getName);
String superBossName = nameProvider.apply(getPerson());
|
Modifier and Type | Method and Description |
---|---|
default <F> Joinable<D,F> |
Joinable.add(Joinable<R,F> next)
Send a result of the first function to the next one.
|
Copyright 2019-2022, Pavel Ponec