public final class ImmutableValueResult extends Object implements ValueResult
ValueResult
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Optional<ResolvingFailure> |
getFailure() |
Set<Value> |
getValues() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSuccess, resultFrom, resultFrom
public Set<Value> getValues()
getValues
in interface ValueResult
Set
of values
. In an error case this will return an empty Set
.public Optional<ResolvingFailure> getFailure()
getFailure
in interface ValueResult
Optional
failure
with the error that occurred trying to resolve the
values
Copyright © 2018. All rights reserved.