Package | Description |
---|---|
inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
inet.ipaddr.format.util |
Contains utility classes such as collections, spliterators, and String-writers.
|
inet.ipaddr.ipv4 |
Classes for IPv4
|
inet.ipaddr.ipv6 |
Classes for IPv6
|
inet.ipaddr.mac |
Classes for MAC addresses.
|
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPAddress.toIPv6() |
IPv6Address |
IPAddressConverter.DefaultAddressConverter.toIPv6(IPAddress address) |
Modifier and Type | Class and Description |
---|---|
class |
BaseDualIPv4v6Tries<T4 extends AddressTrie<IPv4Address>,T6 extends AddressTrie<IPv6Address>>
Contains a pair of IPv4 and IPv6 tries for a data structure that can have fast look-up and containment checks of both IPv4 and IPv6 addresses.
|
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPv4Address.getIPv4MappedAddress() |
IPv6Address |
IPv4Address.getIPv6Address(IPv6AddressSegment[] segs)
Create an IPv6 mixed address using the given ipv6 segments and using this address for the embedded IPv4 segments
|
IPv6Address |
IPv4Address.toIPv6()
Returns this address converted to IPv6.
|
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPv6Address.adjustPrefixBySegment(boolean nextSegment) |
IPv6Address |
IPv6Address.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
IPv6Address |
IPv6Address.adjustPrefixLength(int adjustment) |
IPv6Address |
IPv6Address.adjustPrefixLength(int adjustment,
boolean zeroed) |
IPv6Address |
IPv6Address.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
IPv6Address |
IPv6Address.assignMinPrefixForBlock() |
IPv6Address |
IPv6Address.assignPrefixForSingleBlock() |
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask) |
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv6Address |
IPv6Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6Address |
IPv6Address.coverWithPrefixBlock() |
IPv6Address |
IPv6AddressSeqRange.coverWithPrefixBlock() |
IPv6Address |
IPv6Address.coverWithPrefixBlock(IPAddress other) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(Inet6Address addr) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(Inet6Address addr,
Integer networkPrefixLength) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(IPv6AddressSection section) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(IPv6AddressSection section,
IPv6Address.IPv6Zone zone) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(IPv6AddressSegment[] segments,
IPv6Address.IPv6Zone zone) |
IPv6Address |
IPv6Address.getHostMask() |
IPv6Address |
IPv6AddressSection.getIPv6Address(IPv4Address mixedSection)
Create an IPv6 mixed address using the given address for the embedded IPv4 segments
|
IPv6Address |
IPv6Address.getLower() |
IPv6Address |
IPv6AddressSeqRange.getLower() |
IPv6Address |
IPv6Address.getLowerNonZeroHost() |
IPv6Address |
IPv6Address.getNetworkMask() |
IPv6Address |
IPv6Address.getUpper() |
IPv6Address |
IPv6AddressSeqRange.getUpper() |
IPv6Address |
IPv6Address.increment(BigInteger increment) |
IPv6Address |
IPv6Address.increment(long increment) |
IPv6Address |
IPv6Address.incrementBoundary(long increment) |
IPv6Address |
IPv6Address.intersect(IPAddress other) |
IPv6Address |
IPv6Address.mask(IPAddress mask) |
IPv6Address |
IPv6Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv6Address |
IPv6Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6Address[] |
IPv6Address.mergeToPrefixBlocks(IPAddress... addresses) |
IPv6Address[] |
IPv6Address.mergeToSequentialBlocks(IPAddress... addresses) |
IPv6Address |
IPv6Address.removePrefixLength()
Deprecated.
|
IPv6Address |
IPv6Address.removePrefixLength(boolean zeroed)
Deprecated.
|
IPv6Address |
IPv6Address.removeZone()
Returns the equivalent address but with no zone.
|
IPv6Address |
IPv6Address.replace(int startIndex,
int endIndex,
IPv6Address replacement,
int replacementIndex)
Replaces segments starting from startIndex and ending before endIndex with the same number of segments starting at replacementStartIndex from the replacement section
|
IPv6Address |
IPv6Address.replace(int startIndex,
IPv6AddressSection replacement)
Replaces segments starting from startIndex with as many segments as possible from the replacement section
|
IPv6Address |
IPv6Address.reverseBits(boolean perByte) |
IPv6Address |
IPv6Address.reverseBytes() |
IPv6Address |
IPv6Address.reverseBytesPerSegment() |
IPv6Address |
IPv6Address.reverseSegments() |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength,
boolean zeroed) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength,
boolean zeroed,
boolean zeroHostIsBlock) |
IPv6Address |
IPv6Address.setZone(IPv6Address.IPv6Zone newZone)
Returns a new address with the same address values but with the supplied zone.
|
IPv6Address[] |
IPv6Address.spanWithPrefixBlocks()
Produces an array of prefix blocks that cover the same set of addresses as this.
|
IPv6Address[] |
IPv6AddressSeqRange.spanWithPrefixBlocks() |
IPv6Address[] |
IPv6Address.spanWithPrefixBlocks(IPAddress other) |
IPv6Address[] |
IPv6Address.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of addresses as this.
|
IPv6Address[] |
IPv6AddressSeqRange.spanWithSequentialBlocks() |
IPv6Address[] |
IPv6Address.spanWithSequentialBlocks(IPAddress other) |
IPv6Address[] |
IPv6Address.subtract(IPAddress other) |
IPv6Address |
IPv6Address.toIPv6() |
IPv6Address |
IPv6Address.IPv6AddressConverter.toIPv6(IPAddress address)
If the given address is IPv6, or can be converted to IPv6, returns that
IPv6Address . |
IPv6Address |
IPv6Address.toMaxHost() |
IPv6Address |
IPv6Address.toMaxHost(int prefixLength) |
IPv6Address |
IPv6Address.toPrefixBlock() |
IPv6Address |
IPv6Address.toPrefixBlock(int networkPrefixLength) |
IPv6Address |
IPv6Address.toZeroHost() |
IPv6Address |
IPv6Address.toZeroHost(int prefixLength) |
IPv6Address |
IPv6Address.toZeroNetwork() |
IPv6Address |
IPv6Address.withoutPrefixLength() |
Modifier and Type | Method and Description |
---|---|
IPv6AddressAssociativeTrie.IPv6AssociativeTrieNode<V> |
IPv6AddressAssociativeTrie.addTrie(AddressTrie.TrieNode<IPv6Address> trie) |
IPv6AddressTrie.IPv6TrieNode |
IPv6AddressTrie.addTrie(AddressTrie.TrieNode<IPv6Address> trie) |
IPv6AddressAssociativeTrie.IPv6AssociativeTrieNode<V> |
IPv6AddressAssociativeTrie.putTrie(AssociativeAddressTrie.AssociativeTrieNode<IPv6Address,V> trie) |
String |
IPv6AddressSeqRange.toIPv6String(Function<IPv6Address,String> lowerStringer,
String separator,
Function<IPv6Address,String> upperStringer) |
String |
IPv6AddressSeqRange.toIPv6String(Function<IPv6Address,String> lowerStringer,
String separator,
Function<IPv6Address,String> upperStringer) |
Constructor and Description |
---|
IPv6Address(IPv6Address prefix,
MACAddress eui)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address section and an IPv6 address section network prefix.
|
IPv6AddressSeqRange(IPv6Address first,
IPv6Address second) |
Modifier and Type | Method and Description |
---|---|
IPv6Address |
MACAddress.toLinkLocalIPv6()
Converts to a link-local Ipv6 address.
|