Split Method Parameters In Java