- All Superinterfaces:
AddressGenericDivision
,AddressItem
,AddressStringDivision
,Comparable<AddressItem>
,IPAddressStringDivision
,Serializable
- All Known Implementing Classes:
IPAddressBitsDivision
,IPAddressDivision
,IPAddressJoinedSegments
,IPAddressLargeDivision
,IPAddressSegment
,IPv4AddressSegment
,IPv4JoinedSegments
,IPv6AddressSegment
Represents a division for any IP address series.
- Author:
- sfoley
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
whether this address item represents all possible values attainable by an address item of this typeboolean
Methods inherited from interface inet.ipaddr.format.AddressItem
compareTo, containsPrefixBlock, containsSinglePrefixBlock, getBitCount, getByteCount, getBytes, getBytes, getBytes, getCount, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isMax, isMultiple, isZero
Methods inherited from interface inet.ipaddr.format.string.AddressStringDivision
getDigitCount, getLowerStandardString, getMaxDigitCount, getStandardString, isBoundedBy
Methods inherited from interface inet.ipaddr.format.string.IPAddressStringDivision
getBitCount, getDivisionPrefixLength, getPrefixAdjustedRangeString, isPrefixBlock, isSinglePrefixBlock
-
Method Details
-
isFullRange
default boolean isFullRange()Description copied from interface:AddressItem
whether this address item represents all possible values attainable by an address item of this type- Specified by:
isFullRange
in interfaceAddressItem
- Specified by:
isFullRange
in interfaceIPAddressStringDivision
- Returns:
- whether this address item represents all possible values attainable by an address item of this type, or in other words, both includesZero() and includesMax() return true
-
isPrefixed
boolean isPrefixed()
-