public String makeLastName ( int number ) { if ( number < 0 && number > TpccConstants . NUM_DISTINCT_CLAST - 1 ) throw new IllegalArgumentException ( ) ; int indicies [ ] = { number / 100 , ( number / 10 ) % 10 , number % 10 } ; StringBuffer sb = new StringBuffer ( ) ; for ( int i = 0 ; i < indicies . length ; ++ i ) { sb . append ( TOKENS [ indicies [ i ] ] ) ; } return sb . toString ( ) ; }
Return a last name as defined by TPC - C 4 . 3 . 2 . 3 .