org.nodal.type
Interface MapType

All Superinterfaces:
Nameable, NodeType, Type
All Known Subinterfaces:
MapType.Editor

public interface MapType
extends NodeType

A NodeType representing a Map from one Type to another.

Instances of this type of Node are sparse dictionaries or tables that where the keyType is the range and the valueType is the domain.

Author:
Lee Iverson
See Also:
MapNode

Nested Class Summary
static interface MapType.Editor
          The interface for modifying a MapType.
 
Method Summary
 Type keyType()
          The Type of keys in one of these Maps.
 Type valueType()
          The Type of the values in one of these Maps.
 
Methods inherited from interface org.nodal.type.NodeType
asMapType, asRecordType, asSequenceType, edit, propertyType, valueType
 
Methods inherited from interface org.nodal.type.Type
accepts, accepts, accepts, accepts, accepts, accepts, accepts, accepts, accepts, acceptsNode, acceptsString, acceptsType, from, from, from, from, from, from, from, from, from, fromNode, fromString, isNodeType, type
 
Methods inherited from interface org.nodal.util.Nameable
name, setName
 

Method Detail

keyType

public Type keyType()
The Type of keys in one of these Maps.

This is also the propertyType.


valueType

public Type valueType()
The Type of the values in one of these Maps.