question: @ Override public boolean test ( List < Object > strings ) { if ( strings . isEmpty ( ) ) { return false ; } if ( strings . size ( ) >= 2 ) { Object date = strings . get ( 0 ) ; Object format = strings . get ( 1 ) ; if ( date == null || format == null ) { return false ; } try { SimpleDateFormat sdf = new SimpleDateFormat ( format . toString ( ) ) ; sdf . parse ( date . toString ( ) ) ; return true ; } catch ( ParseException pe ) { return false ; } } else { return false ; } }
target:  Evaluates this predicate on the given argument.