add java translation for integrate function