Module inet.ipaddr

Class DualIPv4v6Tries

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<IPAddress>

    public class DualIPv4v6Tries
    extends BaseDualIPv4v6Tries<IPv4AddressTrie,​IPv6AddressTrie>
    Combines an IPv4 with an IPv6 trie to store both IPv4 and IPv6 addresses and prefix blocks. For a tree that is either IPv4 or IPv6, one or the other, you can just use #AddressTrie. Another alternative to this data structure is to use a single IPv6 trie, while mapping IPv4 addresses to IPv6 with the default IPv4-mapped address mapping, or some other mapping.
    Author:
    scfoley
    See Also:
    Serialized Form