public InMemoryCursor(String[] columnNames){
  mCurrentPosition=-1;
  mColumnNames=columnNames;
}

public InMemoryCursor ( String [ ] columnNames ) { mCurrentPosition = - 1 ; mColumnNames = columnNames ; }
creates a new cursor setting the columns names that will be used by this cursor . the length of this array determines the number of columns that the cursor can handle . filling that below this number will set the rest of the values to null , and all items above it will be ignored .
