private void filter ( Predicate < TreeItem < S > > predicate ) { if ( task != null ) { task . cancel ( false ) ; } task = threadPool . schedule ( filterRunnable , 200 , TimeUnit . MILLISECONDS ) ; }
this method will filter the tree table