Class MapEntry<K extends ACell,V extends ACell>

java.lang.Object
Type Parameters:
K - The type of keys
V - The type of values
All Implemented Interfaces:
IAssociative<CVMLong,ACell>, IValidated, IWriteable, Comparable<MapEntry<K,V>>, Iterable<ACell>, Collection<ACell>, List<ACell>, Map.Entry<K,V>, SequencedCollection<ACell>

public class MapEntry<K extends ACell,V extends ACell> extends AMapEntry<K,V> implements Comparable<MapEntry<K,V>>
Map.Entry implementation for persistent maps. This is primarily intended as an efficient implementation class for handling entries in Convex maps, and also to support the Java Map.Entry interface for compatibility and developer convenience. From a CVM perspective, a MapEntry is just a regular 2 element Vector. As such, MapEntry is *not* canonical and getting the canonical form of a MapEntry requires converting to a Vector Contains exactly 2 elements, one for key and one for value Implements Comparable using the Hash value of keys.