@Override
    public final boolean equals(Object o) {
        if ((o != null) && (o instanceof IPNetwork)) {
            IPNetwork net = (IPNetwork)o;
            return (net != null) && address.equals(net.address) && mask.equals(net.mask) && (BITS == net.BITS);
        }
        return false;
        
    }