If there is a generic T, to create an instance of it, does not work in the following manner
public class xxx {
privaye E[] data ;
public xxx() {
data = new E[10] ;
}
}
Can be replaced in the following manner
public class xxx { privaye E[] data ;
public xxx() {
data = new (E[]) new Object [10] ;
}
}