Powershell Convert String Into Arraylist Add Function In Java