Package org.evrete.api
Interface IntToValue
- All Superinterfaces:
IntFunction<Object>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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]
-
Method Summary
Methods inherited from interface java.util.function.IntFunction
apply
-
Method Details
-
get
default <T> T get(int i)
-