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  IPAddressTypeNetwork<T extends IPAddress,R extends IPAddressSection,S extends IPAddressSegment>
      A network of addresses of a single version (ie bit length) providing a collection of standard addresses and segments 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.adjustPrefixLength(int adjustment) 
      abstract IPAddress IPAddress.applyPrefixLength(int networkPrefixLength)
      Applies the given prefix length to create a new address.
      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.
      abstract IPAddress IPAddress.bitwiseOr(IPAddress mask)
      Does the bitwise disjunction with this address.
      abstract IPAddress IPAddress.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
      Does the bitwise disjunction with this address.
      static IPAddress IPAddress.from(byte[] bytes) 
      static IPAddress IPAddress.from(byte[] bytes, java.lang.Integer prefixLength) 
      static IPAddress IPAddress.from(java.net.InetAddress inetAddress) 
      static IPAddress IPAddress.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) 
      IPAddress IPAddressString.getHostAddress()
      If this address string was constructed from a host address with prefix, then this provides just the host address, rather than the subnet block of addresses provided by IPAddressString.getAddress() that incorporates the prefix.
      abstract IPAddress IPAddressNetwork.getHostMask(int networkPrefixLength) 
      static IPAddress IPAddress.getLocalHost() 
      abstract IPAddress IPAddressNetwork.getLoopback() 
      static IPAddress IPAddress.getLoopback(IPAddress.IPVersion version) 
      abstract IPAddress IPAddress.getLower()
      If this represents an address with ranging values, returns an address representing the lower values of the range.
      IPAddress IPAddressNetwork.getNetworkMask(int networkPrefixLength) 
      abstract IPAddress IPAddressNetwork.getNetworkMask(int networkPrefixLength, boolean withPrefixLength) 
      abstract IPAddress IPAddress.getUpper()
      If this represents an address with ranging values, returns an address representing the upper values of the range If this represents an address with a single value in each segment, returns this.
      abstract IPAddress IPAddress.mask(IPAddress mask)
      Applies the given mask to all addresses represented by this IPAddress.
      abstract IPAddress IPAddress.maskNetwork(IPAddress mask, int networkPrefixLength)
      Applies the given mask up until the given prefix length to all addresses represented by this IPAddress.
      abstract IPAddress IPAddress.removePrefixLength() 
      abstract IPAddress IPAddress.removePrefixLength(boolean zeroed) 
      abstract IPAddress IPAddress.reverseBits(boolean perByte)
      Returns a new IPAddress which has the bits reversed.
      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.subtract(IPAddress other)
      Subtract the give 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 subnet block of addresses provided by IPAddressString.toAddress() that incorporates the prefix.
      IPAddress IPAddress.toMinPrefixedEquivalent()
      Constructs an equivalent address with the smallest CIDR prefix possible (largest network), such that the address represents the exact same range of addresses.
      IPAddress IPAddress.toPrefixedEquivalent()
      Returns the equivalent CIDR address for which the range of addresses represented is specified using just a single value and a prefix length.
      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() 
      Methods in inet.ipaddr with parameters of type IPAddress 
      Modifier and Type Method and Description
      abstract IPAddress IPAddress.bitwiseOr(IPAddress mask)
      Does the bitwise disjunction with this address.
      abstract IPAddress IPAddress.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
      Does the bitwise disjunction with this address.
      boolean IPAddress.contains(IPAddress other) 
      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)
      Applies the given mask to all addresses represented by this IPAddress.
      abstract IPAddress IPAddress.maskNetwork(IPAddress mask, int networkPrefixLength)
      Applies the given mask up until the given prefix length to all addresses represented by this IPAddress.
      abstract IPAddress[] IPAddress.subtract(IPAddress other)
      Subtract the give 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.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) 
      IPv4Address IPv4Address.mask(IPAddress mask) 
      IPv4Address IPv4Address.maskNetwork(IPAddress mask, int networkPrefixLength) 
      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.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) 
      boolean IPv6Address.contains(IPAddress other) 
      boolean IPv6Address.isSameAddress(IPAddress other) 
      IPv6Address IPv6Address.mask(IPAddress mask) 
      IPv6Address IPv6Address.maskNetwork(IPAddress mask, int networkPrefixLength) 
      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