Module inet.ipaddr

Interface AddressTrieOps.AssociativeAddressTrieOps<K extends Address,V>

Type Parameters:
K -
V -
All Superinterfaces:
AddressTrieOps<K>, Cloneable, Iterable<K>, Serializable, TreeOps<K>
All Known Subinterfaces:
AddressTrieOps.AssociativeAddressTriePutOps<K,V>
All Known Implementing Classes:
AssociativeAddressTrie, AssociativeAddressTrie.AssociativeTrieNode, IPv4AddressAssociativeTrie, IPv4AddressAssociativeTrie.IPv4AssociativeTrieNode, IPv6AddressAssociativeTrie, IPv6AddressAssociativeTrie.IPv6AssociativeTrieNode, MACAddressAssociativeTrie, MACAddressAssociativeTrie.MACAssociativeTrieNode
Enclosing interface:
AddressTrieOps<E extends Address>

public static interface AddressTrieOps.AssociativeAddressTrieOps<K extends Address,V> extends AddressTrieOps<K>
Provides an interface to the associative trie operations.

Operations which take an address as an argument require that the address is an individual address or prefix block.

Author:
scfoley
  • Method Details

    • 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: