Java core generics problems based on generic methods, three integers, floats, strings, find max value