Module inet.ipaddr

Interface IPAddressGenericDivision

All Superinterfaces:
AddressGenericDivision, AddressItem, AddressStringDivision, Comparable<AddressItem>, IPAddressStringDivision, 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 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 interface AddressItem
      Specified by:
      isFullRange in interface IPAddressStringDivision
      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()