public List eval()

in src/main/java/com/epam/eco/commons/avro/avpath/SelectAllArrayElements.java [34:46]


    public List<EvaluationResult> eval(List<?> list) {
        if (list == null) {
            return Collections.emptyList();
        }

        return IntStream.
                range(0, list.size()).
                mapToObj(idx -> SelectArrayElementResult.with(
                        list,
                        idx,
                        list.get(idx))).
                collect(Collectors.toList());
    }