class PrefixSpace implements Serializable {

  public boolean containsPrefix(Prefix prefix) {
    @Nullable Boolean result = _cache.get(prefix);
    if (result != null) {
      return result;
    } else {
      boolean contained = containsPrefixRange(PrefixRange.fromPrefix(prefix));
      _cache.put(prefix, contained);
      return contained;
    }
  }

  public  PrefixSpace();
  @JsonCreator public  PrefixSpace(Iterable<PrefixRange> prefixRanges);
  public  PrefixSpace(PrefixRange... prefixRanges);

}