-
- 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 booleanisFullRange()whether this address item represents all possible values attainable by an address item of this typebooleanisPrefixed()-
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:AddressItemwhether this address item represents all possible values attainable by an address item of this type- Specified by:
isFullRangein interfaceAddressItem- Specified by:
isFullRangein 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()
-
-