Oracle Loop Through Array Powershell Foreach Break Java