@SuppressWarnings("unchecked") public DummyData(int cols,int rows,Comparable<?> value){
  value.getClass();
  this.cols=cols;
  this.rows=rows;
  this.value=value;
  Class<? extends Comparable<?>>[] types=new Class[cols];
  Arrays.fill(types,value.getClass());
  setColumnTypes(types);
}

@ SuppressWarnings ( "unchecked" ) public DummyData ( int cols , int rows , Comparable < ? > value ) { value . getClass ( ) ; this . cols = cols ; this . rows = rows ; this . value = value ; Class < ? extends Comparable < ? > > [ ] types = new Class [ cols ] ; Arrays . fill ( types , value . getClass ( ) ) ; setColumnTypes ( types ) ; }
creates a new instance with the specified number of columns and rows , which are filled all over with the same specified value .
