class Ip4Address {

    public boolean isSameAddressAs(Object other) {
        if (other instanceof String) { // Assume that is an ip4 address in String form
            return _addr.equals(other);
        } else {
            return equals(other);
        }
    }

    public  Ip4Address(String addr, String mac);
    public  Ip4Address(long addr, long mac);
    public  Ip4Address(String addr);
    public  Ip4Address(long addr);

}