question: @ Override public boolean test ( List < Object > strings ) { IPType type = IPType . DEFAULT ; if ( strings . isEmpty ( ) ) { return false ; } Object ip = strings . get ( 0 ) ; if ( ip == null ) { return false ; } if ( strings . size ( ) >= 2 ) { Object ipType = strings . get ( 1 ) ; if ( ipType != null ) { try { type = IPType . get ( ipType . toString ( ) ) ; } catch ( Exception e ) { type = IPType . DEFAULT ; } } } return type . isValid ( ip . toString ( ) ) ; }
target:  Evaluates this predicate on the given argument.