class IpSpace implements Comparable<IpSpace>, Serializable {

  public final boolean containsIp(@Nonnull Ip ip, @Nonnull Map<String, IpSpace> namedIpSpaces) {
    return accept(new IpSpaceContainsIp(ip, namedIpSpaces));
  }

}