Module inet.ipaddr

Class IPv6AddressSegment

All Implemented Interfaces:
AddressComponent, AddressSegment, AddressComponentRange, AddressGenericDivision, AddressItem, AddressItemRange, IPAddressGenericDivision, AddressStringDivision, IPAddressStringDivision, Serializable, Comparable<AddressItem>, Iterable<IPv6AddressSegment>

public class IPv6AddressSegment extends IPAddressSegment implements Iterable<IPv6AddressSegment>
This represents a segment of an IPv6 address. For IPv4, segments are 1 byte. For IPv6, they are two bytes. Like String and Integer and various others basic objects, segments are immutable, which also makes them thread-safe.
Author:
sfoley
See Also: