Skip navigation links

Package inet.ipaddr.format.large

Classes for constructing arbitrary divisions of unlimited length and the groupings of those divisions.

See: Description

Package inet.ipaddr.format.large Description

Classes for constructing arbitrary divisions of unlimited length and the groupings of those divisions.

This is useful for arbitrary representations of IPv6 addresses, since IPv6 addresses have 128-bit length, exceeding the size of a 64-bit long.

BigInteger is used for representing division values. For divisions under 64 bits, which is the case for standard representations of IPv4 (8 bit segments), IPv6 (16 bit segments) and MAC (8 bit segments), you should use the classes in package inet.ipaddr.format.standard instead.

Skip navigation links