@Test public void testToStringIPv6() { Ip6Address ipAddress; ipAddress = Ip6Address.valueOf("1111:2222:3333:4444:5555:6666:7777:8888"); assertThat(ipAddress.toString(), is("1111:2222:3333:4444:5555:6666:7777:8888")); ipAddress = Ip6Address.valueOf("1111::8888"); assertThat(ipAddress.toString(), is("1111::8888")); ipAddress = Ip6Address.valueOf("1111::"); assertThat(ipAddress.toString(), is("1111::")); ipAddress = Ip6Address.valueOf("::8888"); assertThat(ipAddress.toString(), is("::8888")); ipAddress = Ip6Address.valueOf("::"); assertThat(ipAddress.toString(), is("::")); ipAddress = Ip6Address.valueOf("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"); assertThat(ipAddress.toString(), is("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")); }
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; }