code: public void setBlacklist(Iterable<InetAddress> addresses) {
          if (addresses == null) {
              throw new NullPointerException("addresses");
          }
  
          blacklist.clear();
          
          for( InetAddress address : addresses ){
              block(address);
          }
      }
docs: Sets the addresses to be blacklisted.
  
  NOTE: this call will remove any previously blacklisted addresses.
  
  @param addresses a collection of InetAddress objects representing the
  addresses to be blacklisted.
  @throws IllegalArgumentException if the specified collections contains
  non-{@link InetAddress} objects.