short function ( char arg0 ) { switch ( arg0 ) { case 'R' : return 0 ; case 'N' : return 1 ; case 'B' : return 2 ; case 'Q' : return 3 ; case 'K' : return 4 ; case 'P' : return 5 ; case 'r' : return 6 ; case 'n' : return 7 ; case 'b' : return 8 ; case 'q' : return 9 ; case 'k' : return 10 ; case 'p' : return 11 ; default : return - 1 ; } }
this function replaces the hashtable which does not function well in threads concode_field_sep short[] KnightTable concode_elem_sep short[] BishopTable concode_elem_sep short[] KingTableEndGame concode_elem_sep int KNIGHT concode_elem_sep int KING concode_elem_sep int ROOK concode_elem_sep short[] KingTable concode_elem_sep int PAWN concode_elem_sep int BISHOP concode_elem_sep boolean endGame concode_elem_sep short[] pawnTable concode_elem_sep long[] bitBoardArray concode_elem_sep int QUEEN concode_elem_sep Hashtable<Character,Integer> pieces concode_field_sep int evaluation concode_elem_sep int convertToNumber