Interface Mapping

All Superinterfaces:
Iterable<IntPair>, Mappings.CoreMapping, Mappings.FunctionMapping, Mappings.SourceMapping, Mappings.TargetMapping
All Known Implementing Classes:
AbstractSourceMapping, AbstractTargetMapping, Mappings.AbstractMapping, Mappings.FiniteAbstractMapping, Mappings.IdentityMapping, Mappings.OverridingSourceMapping, Mappings.OverridingTargetMapping, Mappings.PartialMapping, Permutation

A Mapping is a relationship between a source domain to target domain of integers.

This interface represents the most general possible mapping. Depending on the MappingType of a particular mapping, some of the operations may not be applicable. If you call the method, you will receive a runtime error. For instance: