class MacAddress implements Comparable<MacAddress>, Serializable {

  public static @Nonnull MacAddress parse(String macAddressStr) {
    checkArgument(PATTERN.matcher(macAddressStr).matches(), "Not a MAC address: %s", macAddressStr);
    String hexDigits = macAddressStr.replace(":", "");
    return new MacAddress(Long.parseLong(hexDigits, 16));
  }

  private  MacAddress(long longVal);

}