Class ADT.Relation.Binary (< LeftType, RightType >)
- Description
An abstract data type for binary relations.
This datatype implements something similar to a set of tuples <left, right>, or a multi-valued mapping.
- Generic
LeftType
__generic__mixedLeftType=mixed- Description
Type for the left values in the relation.
- Generic
RightType
__generic__mixedRightType=LeftType- Description
Type for the right values in the relation.
- Method
create
ADT.Relation.Binary ADT.Relation.Binary(void|mixedid,void|mapping(:LeftType)|RightTypethis_program(<,LeftType>)RightTypeinitial)- Description
Initialize a new ADT.Relation.Binary object.
- Parameter
id Identifier for the relation.
- Parameter
initial Initial contents of the relation.
- See also