@FunctionalInterface public interface IntToValue extends IntFunction<Object>
A convenient "random object accessor", i.e. function that converts an integer address
to an Object. For example, for an array of Objects Object[] arr IntToValue
can be expressed as IntToValue itv = i -> arr[i]
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
get(int i) |
applyCopyright © 2021. All rights reserved.