Class CustomMap<K,V>
java.lang.Object
net.sf.saxon.expr.sort.CustomMap<K,V>
A map implementation using a custom equality matcher, to avoid having to wrap
each entry in a wrapper object to achieve customised equality testing.
Note: this doesn't implement Map<K, V> to save the effort of implementing
methods like size() and iterator() that aren't required for our use cases. These
methods could easily be added without changing the basic design.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CustomMap
-
-
Method Details
-
put
-
get
-
containsKey
Ask if a key exists in the set of keys- Parameters:
key- the requested key- Returns:
- true if it exists
-
keys
-
values
-