public static Predicate<InetAddress> ofExact(InetAddress address) {
        requireNonNull(address, "address");
        if (address instanceof Inet4Address) {
            return ofCidr(address, 32);
        }
        if (address instanceof Inet6Address) {
            return ofCidr(address, 128);
        }
        throw new IllegalArgumentException("Invalid InetAddress type: " + address.getClass().getName());
    }
Returns a {@link Predicate} which returns {@code true} if the given {@link InetAddress} equals to
the specified {@code address}.

@param address the expected {@link InetAddress}
core/src/main/java/com/linecorp/armeria/common/util/InetAddressPredicates.java