public class FEELFnResult<T> extends Either<org.kie.dmn.api.feel.runtime.events.FEELEvent,T>
Modifier | Constructor and Description |
---|---|
protected |
FEELFnResult(Optional<org.kie.dmn.api.feel.runtime.events.FEELEvent> left,
Optional<T> right) |
Modifier and Type | Method and Description |
---|---|
<X> FEELFnResult<X> |
map(Function<T,X> rightFn) |
static <T> FEELFnResult<T> |
ofError(org.kie.dmn.api.feel.runtime.events.FEELEvent event) |
static <T> FEELFnResult<T> |
ofResult(T value) |
public static <T> FEELFnResult<T> ofError(org.kie.dmn.api.feel.runtime.events.FEELEvent event)
public static <T> FEELFnResult<T> ofResult(T value)
public <X> FEELFnResult<X> map(Function<T,X> rightFn)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.