final IPv4AddressAndMask aam = (IPv4AddressAndMask)addresses.get(address); if (aam != null) { return aam.getSubnetMask(); } else { return DEFAULT_SUBNET_MASK; }
IPv4IfAddress ifAddr = (IPv4IfAddress)addresses.get(address); return ifAddr.getSubnetMask();
	public IPv4Address getSubnetMask(IPv4Address address) {		final IPv4AddressAndMask aam = (IPv4AddressAndMask)addresses.get(address);		if (aam != null) {			return aam.getSubnetMask();		} else {			return DEFAULT_SUBNET_MASK;		}	}