question: public static File createTempDir ( File parent ) { File temp = new File ( parent , Integer . toString ( Math . abs ( UNSEEDED_RANDOM . nextInt ( ) ) % 1000000 ) ) ; temp . delete ( ) ; temp . mkdir ( ) ; temp . deleteOnExit ( ) ; return temp ; }
target:  Create a temporary directory that is a child of the given directory