public static Predicate<InetAddress> ofCidr(InetAddress baseAddress, int maskBits) {
        requireNonNull(baseAddress, "baseAddress");
        checkArgument(maskBits >= 0, "maskBits: %s (expected: >= 0)", maskBits);
        return ofCidr(baseAddress, maskBits, maskBits);
    }
public static Predicate < InetAddress > ofCidr ( InetAddress baseAddress , int maskBits ) { requireNonNull ( baseAddress , "baseAddress" ) ; checkArgument ( maskBits >= 0 , "maskBits: %s (expected: >= 0)" , maskBits ) ; return ofCidr ( baseAddress , maskBits , maskBits ) ; }
Returns a {@link Predicate} which returns {@code true} if the given {@link InetAddress} is in the
range of a <a href="https://tools.ietf.org/html/rfc4632">Classless Inter-domain Routing (CIDR)</a> block.

@param baseAddress the base {@link InetAddress} of a CIDR notation
@param maskBits the number of significant bits which describes its network portion