public static <T>IList<T> create(final IType t,final Stream<T> stream){
  return (IList<T>)stream.collect(TO_GAMA_LIST);
}

public static < T > IList < T > create ( final IType t , final Stream < T > stream ) { return ( IList < T > ) stream . collect ( TO_GAMA_LIST ) ; }
create a gamalist from an array of objects , but does not attempt casting its values .
