@Test public void testEqualityIPv6() { new EqualsTester() .addEqualityGroup( Ip6Address.valueOf("1111:2222:3333:4444:5555:6666:7777:8888"), Ip6Address.valueOf("1111:2222:3333:4444:5555:6666:7777:8888")) .addEqualityGroup( Ip6Address.valueOf("1111:2222:3333:4444:5555:6666:7777:888a"), Ip6Address.valueOf("1111:2222:3333:4444:5555:6666:7777:888a")) .addEqualityGroup( Ip6Address.valueOf("::"), Ip6Address.valueOf("::")) .addEqualityGroup( Ip6Address.valueOf("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"), Ip6Address.valueOf("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")) .testEquals(); }
public static Ip6Address valueOf(byte[] value) { return new Ip6Address(value); }
Ip6Address extends IpAddress { public static Ip6Address valueOf(byte[] value) { return new Ip6Address(value); } }
Ip6Address extends IpAddress { public static Ip6Address valueOf(byte[] value) { return new Ip6Address(value); } private  Ip6Address(byte[] value); }
Ip6Address extends IpAddress { public static Ip6Address valueOf(byte[] value) { return new Ip6Address(value); } private  Ip6Address(byte[] value); static Ip6Address valueOf(byte[] value); static Ip6Address valueOf(byte[] value, int offset); static Ip6Address valueOf(InetAddress inetAddress); static Ip6Address valueOf(String value); static Ip6Address makeMaskPrefix(int prefixLength); static Ip6Address makeMaskedAddress(final Ip6Address address,
                                               int prefixLength); }
Ip6Address extends IpAddress { public static Ip6Address valueOf(byte[] value) { return new Ip6Address(value); } private  Ip6Address(byte[] value); static Ip6Address valueOf(byte[] value); static Ip6Address valueOf(byte[] value, int offset); static Ip6Address valueOf(InetAddress inetAddress); static Ip6Address valueOf(String value); static Ip6Address makeMaskPrefix(int prefixLength); static Ip6Address makeMaskedAddress(final Ip6Address address,
                                               int prefixLength); static final IpAddress.Version VERSION; static final int BYTE_LENGTH; static final int BIT_LENGTH; }