//FIXME: do this without the suppresswarnings tag
@SuppressWarnings("unchecked")
	public static <T> T[] toArray(List<T> list){
		return (T[]) list.toArray();
	}
@SuppressWarnings("unchecked")
public static <T> T[] toArray(List<T> list){
return (T[]) list.toArray();
}
@SuppressWarnings("unchecked")
public static <T> T[] toArray(List<T> list){
return (T[]) list.toArray();
}
@SuppressWarnings("unchecked")
public static <T> T[] toArray(List<T> list){
return (T[]) list.toArray();
}