public static <T>List<T> toList(T obj1,T obj2,T obj3){
  List<T> list=new LinkedList<T>();
  list.add(obj1);
  list.add(obj2);
  list.add(obj3);
  return list;
}

public static < T > List < T > toList ( T obj1 , T obj2 , T obj3 ) { List < T > list = new LinkedList < T > ( ) ; list . add ( obj1 ) ; list . add ( obj2 ) ; list . add ( obj3 ) ; return list ; }
create a list from passed objx parameters
