for (int paramIdx = 0; paramIdx < parameterCount; paramIdx++)
{
final Type type = parameters.getType(paramIdx);
final Object value = parameters.getValue(paramIdx);
final NumberSequence sequence = context.getTypeRegistry().convertToNumberSequence(type, value);
while (sequence.hasNext())
{
computedResult = compute(sequence.nextNumber(), computedResult);
}
}
return new TypeValuePair(NumberType.GENERIC_NUMBER, computedResult);
}