Python Function With Input Parameters Java