public boolean isNull ( ) { if ( ip == null ) { return true ; } else if ( ip . length ( ) == 0 ) { return true ; } else if ( port < 0 ) { return true ; } else { return false ; } }
Return true if the candidate is not valid .