class Prefix implements Comparable<Prefix>, Serializable {

  public static @Nonnull Prefix strict(String prefixStr) {
    Prefix prefix = parse(prefixStr);
    checkArgument(prefix.toString().equals(prefixStr), "Non-canonical prefix: %s", prefixStr);
    return prefix;
  }

  private  Prefix(Ip ip, int prefixLength);

}