T
- type of the wrapped valuepublic class DeterminismEnvelope<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <T> DeterminismEnvelope<T> |
deterministicValue(T value) |
boolean |
isDeterministic() |
<V,E extends Exception> |
map(FunctionWithException<? super T,? extends V,E> mapper) |
static <T> DeterminismEnvelope<T> |
nondeterministicValue(T value) |
String |
toString() |
T |
unwrap() |
public boolean isDeterministic()
public T unwrap()
public <V,E extends Exception> DeterminismEnvelope<V> map(FunctionWithException<? super T,? extends V,E> mapper) throws E extends Exception
E extends Exception
public static <T> DeterminismEnvelope<T> deterministicValue(T value)
public static <T> DeterminismEnvelope<T> nondeterministicValue(T value)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.