Now using java generics to combine objects different of Strings