otupy.types.base.map_of.MapOf
- class MapOf(ktype, vtype)
Bases:
objectOpenC2 MapOf
Implements OpenC2 MapOf(ktype, vtype):
An unordered set of keys to values with the same semantics. Each key has key type *ktype and is mapped to value type vtype.*
It extends
Mapwith the same approach already used forArrayOf. MapOf for specific types are created as anonymous classes by passing ktype and vtype as arguments.Note: MapOf implementation currently does not support extensins!.
Methods