HPCC-12148 Accept more standard signature for java iterator parameters

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>