-
- All Superinterfaces:
AddressGenericDivision
,AddressItem
,AddressStringDivision
,java.lang.Comparable<AddressItem>
,IPAddressStringDivision
,java.io.Serializable
- All Known Implementing Classes:
IPAddressBitsDivision
,IPAddressDivision
,IPAddressJoinedSegments
,IPAddressLargeDivision
,IPAddressSegment
,IPv4AddressSegment
,IPv4JoinedSegments
,IPv6AddressSegment
public interface IPAddressGenericDivision extends AddressGenericDivision, IPAddressStringDivision
Represents a division for any IP address series.- Author:
- sfoley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isFullRange()
whether this address item represents all possible values attainable by an address item of this typeboolean
isPrefixed()
-
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 Detail
-
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()
-
-