question: public boolean cancelTask ( Task task ) { for ( ThreadRunnable threadRunnable : runableMap . keySet ( ) ) { if ( threadRunnable . task == task ) { Future future = runableMap . remove ( threadRunnable ) ; if ( future != null ) { future . cancel ( true ) ; } return true ; } } return false ; }
target:  Cancel a single task