private Object[] singleRow(int row){
  Object[] res=new Object[this.nFields];
  for (int i=0; i < this.nFields; i+=1) {
    if (this.isNull == null || !this.isNull[row * this.nFields + i]) {
      res[i]=ArrayFuncs.newInstance(this.types[i],1);
      System.arraycopy(this.data[i],row,res[i],0,1);
    }
  }
  return res;
}

private Object [ ] singleRow ( int row ) { Object [ ] res = new Object [ this . nFields ] ; for ( int i = 0 ; i < this . nFields ; i += 1 ) { if ( this . isNull == null || ! this . isNull [ row * this . nFields + i ] ) { res [ i ] = ArrayFuncs . newInstance ( this . types [ i ] , 1 ) ; System . arraycopy ( this . data [ i ] , row , res [ i ] , 0 , 1 ) ; } } return res ; }
extract a single row from a table . this returns an array of objects each of which is an array of length 1 .
