BagMap - Description

The generic class BagMap is a map of keys and values. BagMap is an unordered data type. The generic has a two type parameters, K - the key type and T - the data type of the map. The generic class BagMap exists in the namespace calculus (in assembly calculus.jar).

The declaration of the set class (in Java) is shown below.

public class BagMap<K,T> implements Iterable<KeyValue<K,T>>,

Searches, insertions and removals are O(log2n).

When for is applied to a set, the entries are presented in hash code order.