Java Stream From Array Python Example For Client