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
-
Nested Class Summary
Nested classes/interfaces inherited from interface AddressTrieOps
AddressTrieOps.AddressTrieAddOps<E>, AddressTrieOps.AssociativeAddressTrieOps<K,V>, AddressTrieOps.AssociativeAddressTriePutOps<K, V> -
Method Summary
Methods inherited from interface AddressTrieOps
allNodeIterator, allNodeSpliterator, ceiling, ceilingAddedNode, containedFirstAllNodeIterator, containedFirstIterator, containingFirstAllNodeIterator, containingFirstIterator, contains, elementContains, elementsContainedBy, elementsContaining, firstAddedNode, firstNode, floor, floorAddedNode, getAddedNode, getNode, higher, higherAddedNode, lastAddedNode, lastNode, longestPrefixMatch, longestPrefixMatchNode, lower, lowerAddedNode, nodeIterator, nodeSpliterator, remove, removeElementsContainedBy, shortestPrefixMatch, shortestPrefixMatchNodeMethods inherited from interface TreeOps
descendingIterator, descendingSpliterator, iterator, spliterator
-
Method Details
-
get
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
Partitionclass can be used to convert the address before calling this method. SeeAddressTrieOps.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:
-