class ResultComposer {

    @SuppressWarnings("unchecked")
    public static <T> Result compose(T value, Result... result) {
        List<Result<Object>> results = Arrays.asList(result);
        return composeResults(value, results);
    }

}