public static class IPv6AddressSection.IPv6v4MixedAddressSection extends IPAddressDivisionGrouping
IPAddressDivisionGrouping.Range, IPAddressDivisionGrouping.RangeList
AddressDivisionGrouping.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, isSinglePrefixBlock
hashCode
getBytes, getBytes, getBytes, getCount, getDivisionCount, getDivisionStrings, getMinPrefixLengthForBlock, getPrefixCount, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isFullRange, isMax, isMultiple, isPrefixed, isSequential, isZero
getBlockCount, getCount, getDivisionStrings, getPrefixCount, getPrefixCount, getSequentialBlockIndex, isPrefixed, isSequential
compareTo, getBitsForCount, getBlockSize, getBytes, getBytes, getBytes, getMinPrefixLengthForBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isFullRange, isMax, isMultiple, isZero
isPrefixed
getDivisionCount
public int getByteCount()
AddressItem
public int getBitCount()
AddressItem
public boolean isPrefixBlock()
IPAddressDivisionGrouping
AddressNetwork.getPrefixConfiguration()
is set to consider all prefixes as subnets, this returns true for any grouping with prefix length.isPrefixBlock
in interface AddressDivisionSeries
isPrefixBlock
in interface IPAddressStringDivisionSeries
isPrefixBlock
in class IPAddressDivisionGrouping
public String toString()
toString
in class AddressDivisionGroupingBase
public boolean equals(Object o)
AddressDivisionGroupingBase
equals
in class IPAddressDivisionGrouping