method to set the current direction concode_field_sep int DIRECTION_RIGHT concode_elem_sep int direction_ concode_elem_sep String DIR_DOWN concode_elem_sep int DIRECTION_UP concode_elem_sep int DIRECTION_DOWN concode_elem_sep int DIRECTION_LEFT concode_elem_sep String DIR_RIGHT concode_elem_sep Random random_generator_ concode_elem_sep String DIR_UP concode_elem_sep String DIR_LEFT concode_field_sep int getDirection concode_elem_sep boolean equals concode_elem_sep void randomizeNextDirection concode_elem_sep String toString concode_elem_sep boolean isLegalDirection concode_elem_sep void invertDirection concode_elem_sep void randomizeDirection
void function ( int arg0 ) { if ( isLegalDirection ( arg0 ) ) { direction_ = arg0 ; } else { throw new IllegalDirectionException ( "srini_string" ) ; } }