public void block(Subnet subnet){
  if (subnet == null) {
    throw new IllegalArgumentException("Subnet can not be null");
  }
  blacklist.add(subnet);
}

public void block ( Subnet subnet ) { if ( subnet == null ) { throw new IllegalArgumentException ( "Subnet can not be null" ) ; } blacklist . add ( subnet ) ; }
blocks the specified subnet .
