19 package org.sleuthkit.autopsy.datasourcesummary.uiutils;
21 import java.util.function.Function;
48 if (inputResult == null) {
51 O innerData = (inputResult.
getData() == null) ? null : getSubResult.apply(inputResult.
getData());
static< I, O > DataFetchResult< O > getSubResult(DataFetchResult< I > inputResult, Function< I, O > getSubResult)
ResultType getResultType()
final Throwable exception
static< R > DataFetchResult< R > getErrorResult(Throwable e)
DataFetchResult(ResultType state, R data, Throwable exception)
static< R > DataFetchResult< R > getSuccessResult(R data)