public Map < String , Integer > buildIndex ( ) { Map < String , Integer > index = new HashMap < String , Integer > ( ) ; for ( int i = 0 ; i < columns . length ; ++ i ) { index . put ( columns [ i ] , i ) ; } return index ; }
Builds a name - to - column index for quick access to data by columm names .