Interface IntArrayElementConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation that accepts an array element of integer value
and returns no result.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(int i, int x) Performs this operation on the given element.
-
Method Details
-
apply
void apply(int i, int x) Performs this operation on the given element.- Parameters:
i- the index of array element.x- the value of array element.
-