@Test(expected = NullPointerException.class) public void testInvalidValueOfNullString() { IpPrefix ipPrefix; String fromString; fromString = null; ipPrefix = IpPrefix.valueOf(fromString); }
public static IpPrefix valueOf(int address, int prefixLength) { return new IpPrefix(IpAddress.valueOf(address), prefixLength); }
IpPrefix { public static IpPrefix valueOf(int address, int prefixLength) { return new IpPrefix(IpAddress.valueOf(address), prefixLength); } }
IpPrefix { public static IpPrefix valueOf(int address, int prefixLength) { return new IpPrefix(IpAddress.valueOf(address), prefixLength); } protected  IpPrefix(IpAddress address, int prefixLength); }
IpPrefix { public static IpPrefix valueOf(int address, int prefixLength) { return new IpPrefix(IpAddress.valueOf(address), prefixLength); } protected  IpPrefix(IpAddress address, int prefixLength); IpAddress.Version version(); boolean isIp4(); boolean isIp6(); boolean isMulticast(); IpAddress address(); int prefixLength(); Ip4Prefix getIp4Prefix(); Ip6Prefix getIp6Prefix(); static IpPrefix valueOf(int address, int prefixLength); static IpPrefix valueOf(IpAddress.Version version, byte[] address,
                                   int prefixLength); static IpPrefix valueOf(IpAddress address, int prefixLength); static IpPrefix valueOf(String address); boolean contains(IpPrefix other); boolean contains(IpAddress other); @Override int hashCode(); @Override boolean equals(Object obj); @Override /* * (non-Javadoc) * The format is "x.x.x.x/y" for IPv4 prefixes. * * @see java.lang.Object#toString() */ String toString(); }
IpPrefix { public static IpPrefix valueOf(int address, int prefixLength) { return new IpPrefix(IpAddress.valueOf(address), prefixLength); } protected  IpPrefix(IpAddress address, int prefixLength); IpAddress.Version version(); boolean isIp4(); boolean isIp6(); boolean isMulticast(); IpAddress address(); int prefixLength(); Ip4Prefix getIp4Prefix(); Ip6Prefix getIp6Prefix(); static IpPrefix valueOf(int address, int prefixLength); static IpPrefix valueOf(IpAddress.Version version, byte[] address,
                                   int prefixLength); static IpPrefix valueOf(IpAddress address, int prefixLength); static IpPrefix valueOf(String address); boolean contains(IpPrefix other); boolean contains(IpAddress other); @Override int hashCode(); @Override boolean equals(Object obj); @Override /* * (non-Javadoc) * The format is "x.x.x.x/y" for IPv4 prefixes. * * @see java.lang.Object#toString() */ String toString(); static final int MAX_INET_MASK_LENGTH; static final int MAX_INET6_MASK_LENGTH; @Deprecated
    static final IpPrefix MULTICAST_RANGE; static final IpPrefix IPV4_MULTICAST_PREFIX; static final IpPrefix IPV6_MULTICAST_PREFIX; }