public static class IPv6AddressSection.IPv6v4MixedAddressSection extends IPAddressDivisionGrouping
IPAddressDivisionGrouping.Range, IPAddressDivisionGrouping.RangeListAddressDivisionGrouping.DivisionLengthProvider, AddressDivisionGrouping.DivisionValueProvider, AddressDivisionGrouping.StringOptions| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Two groupings are equal if:
- they match type/version (ipv4, ipv6, mac, or a specific grouping class)
- they match division counts
- each division matches bit counts
- each division matches their specific grouping class
- each division matches values
Prefix lengths, for those groupings and/or divisionsS that have them, are ignored.
|
int |
getBitCount()
Provides the number of bits comprising this address item
|
int |
getByteCount()
Provides the number of bytes required for this address item, rounding up if the bit count is not a multiple of 8
|
boolean |
isPrefixBlock()
Returns whether this address section represents a subnet block of addresses associated its prefix length.
|
String |
toString() |
containsPrefixBlock, containsSinglePrefixBlock, getDivision, getLeadingBitCount, getNetwork, getNetworkPrefixLength, getPrefixLength, getPrefixLengthForSingleBlock, getTrailingBitCount, getZeroRangeSegments, getZeroSegments, includesZeroHost, isMore, isSinglePrefixBlockhashCodegetBytes, getBytes, getBytes, getCount, getDivisionCount, getDivisionStrings, getMinPrefixLengthForBlock, getPrefixCount, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isFullRange, isMax, isMultiple, isPrefixed, isSequential, isZerogetBlockCount, getCount, getDivisionStrings, getPrefixCount, getPrefixCount, getSequentialBlockIndex, isPrefixed, isSequentialcompareTo, getBitsForCount, getBlockSize, getBytes, getBytes, getBytes, getMinPrefixLengthForBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isFullRange, isMax, isMultiple, isZeroisPrefixedgetDivisionCountpublic int getByteCount()
AddressItempublic int getBitCount()
AddressItempublic boolean isPrefixBlock()
IPAddressDivisionGroupingAddressNetwork.getPrefixConfiguration() is set to consider all prefixes as subnets, this returns true for any grouping with prefix length.isPrefixBlock in interface AddressDivisionSeriesisPrefixBlock in interface IPAddressStringDivisionSeriesisPrefixBlock in class IPAddressDivisionGroupingpublic String toString()
toString in class AddressDivisionGroupingBasepublic boolean equals(Object o)
AddressDivisionGroupingBaseequals in class IPAddressDivisionGrouping