Uses of Class
inet.ipaddr.IPAddressSeqRange
-
Packages that use IPAddressSeqRange Package Description inet.ipaddr Base classes for IP addresses and generic addresses.inet.ipaddr.format Base classes for generic representations of address divisions and groupings of address divisions.inet.ipaddr.format.validate Validation of address strings and creation of address representations from the validated strings.inet.ipaddr.ipv4 Classes for IPv4inet.ipaddr.ipv6 Classes for IPv6 -
-
Uses of IPAddressSeqRange in inet.ipaddr
Methods in inet.ipaddr that return IPAddressSeqRange Modifier and Type Method Description IPAddressSeqRange
IPAddressSeqRange. extend(IPAddressRange other)
Extend this sequential range to include all address in the given range, which can be an IPAddress or IPAddressSeqRange.IPAddressSeqRange
IPAddressString. getSequentialRange()
Returns the range of sequential addresses from the lowest address specified in this address string to the highest.IPAddressSeqRange
IPAddressSeqRange. intersect(IPAddressSeqRange other)
Returns the intersection of this range with the given range, a range which includes those addresses in both this and the given range.IPAddressSeqRange
IPAddressSeqRange. join(IPAddressSeqRange other)
If this range overlaps with the given range, or if the highest value of the lower range is one below the lowest value of the higher range, then the two are joined into a new larger range that is returned.static IPAddressSeqRange[]
IPAddressSeqRange. join(IPAddressSeqRange... ranges)
Joins the given ranges into the fewest number of ranges.abstract IPAddressSeqRange
IPAddress. spanWithRange(IPAddress other)
Deprecated.IPAddressSeqRange[]
IPAddressSeqRange. subtract(IPAddressSeqRange other)
Subtracts the given range from this range, to produce either zero, one, or two address ranges that contain the addresses in this range and not in the given range.abstract IPAddressSeqRange
IPAddress. toSequentialRange()
Creates a sequential range instance from the lowest and highest addresses in this subnetabstract IPAddressSeqRange
IPAddress. toSequentialRange(IPAddress other)
Creates a sequential range instance from this and the given address, spanning from the lowest to the highest addresses in the two subnetsIPAddressSeqRange
IPAddressString. toSequentialRange()
Returns the range of sequential addresses from the lowest address specified in this address string to the highest.Methods in inet.ipaddr that return types with arguments of type IPAddressSeqRange Modifier and Type Method Description abstract AddressComponentRangeSpliterator<? extends IPAddressSeqRange,? extends IPAddress>
IPAddressSeqRange. prefixBlockSpliterator(int prefLength)
java.util.Iterator<? extends IPAddressSeqRange>
IPAddressSeqRange. prefixIterator(int prefixLength)
Iterates through the range of prefixes in this range instance using the given prefix length.abstract AddressComponentSpliterator<? extends IPAddressSeqRange>
IPAddressSeqRange. prefixSpliterator(int prefLength)
abstract java.util.stream.Stream<? extends IPAddressSeqRange>
IPAddressSeqRange. prefixStream(int prefLength)
abstract AddressComponentRangeSpliterator<? extends IPAddressSeqRange,? extends IPAddress>
IPAddressSeqRange. spliterator()
Methods in inet.ipaddr with parameters of type IPAddressSeqRange Modifier and Type Method Description int
AddressComparator. compare(IPAddressSeqRange one, IPAddressSeqRange two)
boolean
IPAddress. contains(IPAddressSeqRange otherRange)
boolean
IPAddressSeqRange. contains(IPAddressSeqRange other)
IPAddressSeqRange
IPAddressSeqRange. intersect(IPAddressSeqRange other)
Returns the intersection of this range with the given range, a range which includes those addresses in both this and the given range.boolean
IPAddressSeqRange. isMore(IPAddressSeqRange other)
IPAddressSeqRange
IPAddressSeqRange. join(IPAddressSeqRange other)
If this range overlaps with the given range, or if the highest value of the lower range is one below the lowest value of the higher range, then the two are joined into a new larger range that is returned.static IPAddressSeqRange[]
IPAddressSeqRange. join(IPAddressSeqRange... ranges)
Joins the given ranges into the fewest number of ranges.boolean
IPAddressSeqRange. overlaps(IPAddressSeqRange other)
IPAddressSeqRange[]
IPAddressSeqRange. subtract(IPAddressSeqRange other)
Subtracts the given range from this range, to produce either zero, one, or two address ranges that contain the addresses in this range and not in the given range. -
Uses of IPAddressSeqRange in inet.ipaddr.format
Methods in inet.ipaddr.format that return IPAddressSeqRange Modifier and Type Method Description IPAddressSeqRange
IPAddressRange. toSequentialRange()
Converts to a sequential range from the lowest and highest addresses in this range, returns "this" if one alreadyMethods in inet.ipaddr.format with parameters of type IPAddressSeqRange Modifier and Type Method Description boolean
IPAddressRange. contains(IPAddressSeqRange other)
Returns whether this range contains all addresses in the given sequential range -
Uses of IPAddressSeqRange in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return IPAddressSeqRange Modifier and Type Method Description IPAddressSeqRange
IPAddressProvider.AllCreator. getProviderSeqRange()
default IPAddressSeqRange
IPAddressProvider. getProviderSeqRange()
IPAddressSeqRange
ParsedIPAddress. getProviderSeqRange()
-
Uses of IPAddressSeqRange in inet.ipaddr.ipv4
Subclasses of IPAddressSeqRange in inet.ipaddr.ipv4 Modifier and Type Class Description class
IPv4AddressSeqRange
Represents an arbitrary range of IPv4 addresses.Methods in inet.ipaddr.ipv4 with parameters of type IPAddressSeqRange Modifier and Type Method Description IPv4AddressSeqRange
IPv4AddressSeqRange. intersect(IPAddressSeqRange other)
IPv4AddressSeqRange
IPv4AddressSeqRange. join(IPAddressSeqRange other)
IPv4AddressSeqRange[]
IPv4AddressSeqRange. subtract(IPAddressSeqRange other)
-
Uses of IPAddressSeqRange in inet.ipaddr.ipv6
Subclasses of IPAddressSeqRange in inet.ipaddr.ipv6 Modifier and Type Class Description class
IPv6AddressSeqRange
Represents an arbitrary range of IPv6 addresses.Methods in inet.ipaddr.ipv6 with parameters of type IPAddressSeqRange Modifier and Type Method Description IPv6AddressSeqRange
IPv6AddressSeqRange. intersect(IPAddressSeqRange other)
IPv6AddressSeqRange
IPv6AddressSeqRange. join(IPAddressSeqRange other)
IPv6AddressSeqRange[]
IPv6AddressSeqRange. subtract(IPAddressSeqRange other)
-