var ip6Address = IPv6Address.of("FF01::101");
var loopback = IPv6Address.of("::1");
The loopback can be done simpler like:
var loopback = IPv6Address.LOOPBACK;
There are also others like:
var unspecified_one = IPv6Address.UNSPECIFIED;
var unspecified_two = IPv6Address.of("::");
var first = IPv6Address.of("2001:DB8:0:0:8:800:200C:417A");
var second = IPv6Address.of("2001:DB8::8:800:200C:417A");
assertThat(first.equals(second)).isTrue();