Skip to content

khmarbaise/ipv6

Repository files navigation

IP Version 6 Address

Status

It’s just a Proof Of Concept

Requirements

JDK17+

Examples

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();

Mutation Testing

mvn clean verify org.pitest:pitest-maven:mutationCoverage

Releases

No releases published

Languages