結果 : java generic method return type based on parameter