Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Uses of Class
inet.ipaddr.IPAddress

  • Packages that use IPAddress 
    Package Description
    inet.ipaddr  
    inet.ipaddr.ipv4  
    inet.ipaddr.ipv6  
    • Uses of IPAddress in inet.ipaddr

      Classes in inet.ipaddr with type parameters of type IPAddress 
      Modifier and Type Class and Description
      class  IPAddressNetwork<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends java.net.InetAddress>
      Represents a network of addresses of a single IP version providing a collection of standard addresses components for that version, such as masks and loopbacks.
      Methods in inet.ipaddr that return IPAddress 
      Modifier and Type Method and Description
      abstract IPAddress IPAddress.adjustPrefixBySegment(boolean nextSegment) 
      abstract IPAddress IPAddress.adjustPrefixBySegment(boolean nextSegment, boolean zeroed) 
      abstract IPAddress IPAddress.adjustPrefixLength(int adjustment)
      Increases or decreases prefix length by the given increment.
      abstract IPAddress IPAddress.adjustPrefixLength(int adjustment, boolean zeroed) 
      abstract IPAddress IPAddress.applyPrefixLength(int networkPrefixLength) 
      IPAddress HostName.asAddress()
      If this represents an ip address, returns that address.
      IPAddress HostName.asAddress(IPAddress.IPVersion version)
      If this represents an ip address, returns that address.
      IPAddress IPAddress.assignMinPrefixForBlock()
      Constructs an equivalent address with the smallest CIDR prefix possible (largest network), such that the range of values are a set of subnet blocks for that prefix.
      IPAddress IPAddress.assignPrefixForSingleBlock()
      Returns the equivalent CIDR address with a prefix length for which the address subnet block matches the range of values in this address.
      abstract IPAddress IPAddress.bitwiseOr(IPAddress mask)
      Equivalent to calling bitwiseOr(IPAddress, boolean) with the second argument as false.
      abstract IPAddress IPAddress.bitwiseOr(IPAddress mask, boolean retainPrefix)
      Does the bitwise disjunction with this address.
      abstract IPAddress IPAddress.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
      Does the bitwise disjunction with this address.
      IPAddress IPAddressNetwork.IPAddressGenerator.from(byte[] bytes) 
      IPAddress IPAddressNetwork.IPAddressGenerator.from(byte[] bytes, java.lang.Integer prefixLength) 
      IPAddress IPAddressNetwork.IPAddressGenerator.from(java.net.InetAddress inetAddress) 
      IPAddress IPAddressNetwork.IPAddressGenerator.from(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength) 
      IPAddress IPAddressString.getAddress()
      If this represents an ip address, returns that address.
      IPAddress HostName.getAddress()
      If this represents an ip address, returns that address.
      IPAddress IPAddressString.getAddress(IPAddress.IPVersion version)
      Similar to #toAddress(IPVersion), but returns null rather than throwing an exception with the address is invalid or does not match the supplied version.
      IPAddress IPAddressString.getHostAddress()
      If this address string was constructed from a host address with prefix length, then this provides just the host address, rather than the address provided by IPAddressString.getAddress() that incorporates the prefix.
      abstract IPAddress IPAddress.getLower() 
      abstract IPAddress IPAddress.getLowerNonZeroHost() 
      abstract IPAddress IPAddress.getUpper() 
      abstract IPAddress IPAddress.increment(long increment) 
      abstract IPAddress IPAddress.intersect(IPAddress other)
      Produces the subnet whose addresses are found in both this and the given subnet argument.
      abstract IPAddress IPAddress.mask(IPAddress mask)
      Equivalent to calling mask(IPAddress, boolean) with the second argument as false.
      abstract IPAddress IPAddress.mask(IPAddress mask, boolean retainPrefix)
      Applies the given mask to all addresses represented by this IPAddress.
      abstract IPAddress IPAddress.maskNetwork(IPAddress mask, int networkPrefixLength)
      Applies the given mask to all addresses represented by this IPAddress while also applying the given prefix length at the same time.
      abstract IPAddress[] IPAddress.mergePrefixBlocks(IPAddress... addresses)
      Merges this with the list of addresses to produce the smallest list of prefix blocks
      abstract IPAddress IPAddress.removePrefixLength() 
      abstract IPAddress IPAddress.removePrefixLength(boolean zeroed) 
      abstract IPAddress IPAddress.reverseBits(boolean perByte) 
      abstract IPAddress IPAddress.reverseBytes() 
      abstract IPAddress IPAddress.reverseBytesPerSegment() 
      abstract IPAddress IPAddress.reverseSegments() 
      abstract IPAddress IPAddress.setPrefixLength(int prefixLength) 
      abstract IPAddress IPAddress.setPrefixLength(int prefixLength, boolean zeroed) 
      abstract IPAddress[] IPAddress.spanWithPrefixBlocks(IPAddress other)
      Produces the list of prefix block subnets that span from this series to the given series.
      abstract IPAddress[] IPAddress.subtract(IPAddress other)
      Subtract the given subnet from this subnet, returning an array of subnets for the result (the subnets will not be contiguous so an array is required).
      IPAddress IPAddressString.toAddress()
      Produces the IPAddress corresponding to this IPAddressString.
      IPAddress HostName.toAddress()
      If this represents an ip address, returns that address.
      IPAddress IPAddressString.toAddress(IPAddress.IPVersion version)
      Produces the IPAddress of the specified address version corresponding to this IPAddressString.
      IPAddress IPAddressString.toHostAddress()
      If this address string was constructed from a host address with prefix, then this provides just the host address, rather than the address with the prefix provided by IPAddressString.toAddress() that incorporates the prefix.
      abstract IPAddress IPAddress.toMaxHost() 
      abstract IPAddress IPAddress.toMaxHost(int prefixLength) 
      abstract IPAddress IPAddress.toPrefixBlock()
      Returns the subnet associated with the prefix length of this address.
      abstract IPAddress IPAddress.toPrefixBlock(int networkPrefixLength) 
      abstract IPAddress IPAddress.toZeroHost() 
      abstract IPAddress IPAddress.toZeroHost(int prefixLength) 
      Methods in inet.ipaddr that return types with arguments of type IPAddress 
      Modifier and Type Method and Description
      abstract java.lang.Iterable<? extends IPAddress> IPAddress.getIterable() 
      abstract java.util.Iterator<? extends IPAddress> IPAddress.iterator() 
      abstract java.util.Iterator<? extends IPAddress> IPAddress.nonZeroHostIterator() 
      abstract java.util.Iterator<? extends IPAddress> IPAddress.prefixBlockIterator() 
      Methods in inet.ipaddr with parameters of type IPAddress 
      Modifier and Type Method and Description
      abstract IPAddress IPAddress.bitwiseOr(IPAddress mask)
      Equivalent to calling bitwiseOr(IPAddress, boolean) with the second argument as false.
      abstract IPAddress IPAddress.bitwiseOr(IPAddress mask, boolean retainPrefix)
      Does the bitwise disjunction with this address.
      abstract IPAddress IPAddress.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
      Does the bitwise disjunction with this address.
      abstract IPAddress IPAddress.intersect(IPAddress other)
      Produces the subnet whose addresses are found in both this and the given subnet argument.
      boolean IPAddressConverter.isIPv4Convertible(IPAddress address)
      returns whether the address is IPv4 or can be converted to IPv4.
      boolean IPAddressConverter.DefaultAddressConverter.isIPv4Convertible(IPAddress address) 
      boolean IPAddressConverter.isIPv6Convertible(IPAddress address)
      returns whether the address is IPv6 or can be converted to IPv6.
      boolean IPAddressConverter.DefaultAddressConverter.isIPv6Convertible(IPAddress address) 
      boolean IPAddress.isSameAddress(IPAddress other) 
      abstract IPAddress IPAddress.mask(IPAddress mask)
      Equivalent to calling mask(IPAddress, boolean) with the second argument as false.
      abstract IPAddress IPAddress.mask(IPAddress mask, boolean retainPrefix)
      Applies the given mask to all addresses represented by this IPAddress.
      abstract IPAddress IPAddress.maskNetwork(IPAddress mask, int networkPrefixLength)
      Applies the given mask to all addresses represented by this IPAddress while also applying the given prefix length at the same time.
      boolean IPAddress.matchesWithMask(IPAddress other, IPAddress mask)
      Applies the mask to this address and then compares values with the given address
      abstract IPAddress[] IPAddress.mergePrefixBlocks(IPAddress... addresses)
      Merges this with the list of addresses to produce the smallest list of prefix blocks
      abstract IPAddress[] IPAddress.spanWithPrefixBlocks(IPAddress other)
      Produces the list of prefix block subnets that span from this series to the given series.
      abstract IPAddress[] IPAddress.subtract(IPAddress other)
      Subtract the given subnet from this subnet, returning an array of subnets for the result (the subnets will not be contiguous so an array is required).
      IPv4Address IPAddressConverter.DefaultAddressConverter.toIPv4(IPAddress address) 
      IPv6Address IPAddressConverter.DefaultAddressConverter.toIPv6(IPAddress address) 
      Constructors in inet.ipaddr with parameters of type IPAddress 
      Constructor and Description
      HostName(IPAddress addr) 
    • Uses of IPAddress in inet.ipaddr.ipv4

      Subclasses of IPAddress in inet.ipaddr.ipv4 
      Modifier and Type Class and Description
      class  IPv4Address
      An IPv4 address, or a subnet of multiple IPv4 addresses.
      Methods in inet.ipaddr.ipv4 with parameters of type IPAddress 
      Modifier and Type Method and Description
      IPv4Address IPv4Address.bitwiseOr(IPAddress mask) 
      IPv4Address IPv4Address.bitwiseOr(IPAddress mask, boolean retainPrefix) 
      IPv4Address IPv4Address.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) 
      IPv4Address IPv4Address.intersect(IPAddress other) 
      IPv4Address IPv4Address.mask(IPAddress mask) 
      IPv4Address IPv4Address.mask(IPAddress mask, boolean retainPrefix) 
      IPv4Address IPv4Address.maskNetwork(IPAddress mask, int networkPrefixLength) 
      IPv4Address[] IPv4Address.mergePrefixBlocks(IPAddress... addresses) 
      IPv4Address[] IPv4Address.spanWithPrefixBlocks(IPAddress other) 
      IPv4Address[] IPv4Address.subtract(IPAddress other) 
      IPv4Address IPv4Address.IPv4AddressConverter.toIPv4(IPAddress address)
      If the given address is IPv4, or can be converted to IPv4, returns that IPv4Address.
    • Uses of IPAddress in inet.ipaddr.ipv6

      Subclasses of IPAddress in inet.ipaddr.ipv6 
      Modifier and Type Class and Description
      class  IPv6Address
      An IPv6 address, or a subnet of multiple IPv6 addresses.
      Methods in inet.ipaddr.ipv6 with parameters of type IPAddress 
      Modifier and Type Method and Description
      IPv6Address IPv6Address.bitwiseOr(IPAddress mask) 
      IPv6Address IPv6Address.bitwiseOr(IPAddress mask, boolean retainPrefix) 
      IPv6Address IPv6Address.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) 
      IPv6Address IPv6Address.intersect(IPAddress other) 
      boolean IPv6Address.isSameAddress(IPAddress other) 
      IPv6Address IPv6Address.mask(IPAddress mask) 
      IPv6Address IPv6Address.mask(IPAddress mask, boolean retainPrefix) 
      IPv6Address IPv6Address.maskNetwork(IPAddress mask, int networkPrefixLength) 
      IPv6Address[] IPv6Address.mergePrefixBlocks(IPAddress... addresses) 
      IPv6Address[] IPv6Address.spanWithPrefixBlocks(IPAddress other) 
      IPv6Address[] IPv6Address.subtract(IPAddress other) 
      IPv6Address IPv6Address.IPv6AddressConverter.toIPv6(IPAddress address)
      If the given address is IPv6, or can be converted to IPv6, returns that IPv6Address.
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes