Get Only Values From Array Of Strings Java