HPCC-12148 Accept more standard signature for java iterator parameters

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #6388 from richardkchapman/java-iterator-signature

HPCC-12148 Accept more standard signature for java iterator parameters