public List<T> create(int nElements){
		List<T> result = new ArrayList<T>();
		try {
			for(int i=0;i < nElements;i ++){
				result.add(type.newInstance());
			}
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		return result;
	}