Module inet.ipaddr

Interface AddressTrieOps.AssociativeAddressTrieOps<K extends Address,​V>

    • Method Detail

      • get

        V get​(K addr)
        Gets the specified value for the specified key in this mapped trie or subtrie.

        If the given address is not a single address nor prefix block, then this method throws IllegalArgumentException.

        If not a single address nor prefix block, the Partition class can be used to convert the address before calling this method. See AddressTrieOps.AddressTrieAddOps.add(Address) for more details.

        Returns the value for the given key. Returns null if the contains no mapping for that key or if the mapped value is null.

        Parameters:
        addr -
        Returns: