@Override
    public final <K> Map<K, ?> toMap(Function<? super Integer, ? extends K> keyMapper) {
        Map<K, Object> result = new LinkedHashMap<>();
        Object[] array = toArray();

        for (int i = 0; i < array.length; i++)
            result.put(keyMapper.apply(i), array[i]);

        return result;
    }
Apply attribute 10 as argument to a function and return a new tuple with the substituted argument.
jOOL/src/main/java/org/jooq/lambda/tuple/Tuple10.java