Click or drag to resize

InjectiveMapTLeft, TRight Class

A collection of injective (bidirectional one-to-one) mappings.
Inheritance Hierarchy
SystemObject
  Demo3D.CommonInjectiveMapTLeft, TRight

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public class InjectiveMap<TLeft, TRight> : IEnumerable

Type Parameters

TLeft
The type for left values.
TRight
The type for right values.

The InjectiveMapTLeft, TRight type exposes the following members.

Constructors
 NameDescription
Public methodInjectiveMapTLeft, TRight Constructor.
Public methodInjectiveMapTLeft, TRight(Int32) Constructor.
Top
Properties
 NameDescription
Public propertyCount The number of injective mappings contained.
Public propertyLeft The domain for the mapping.
Public propertyRight The codomain for the mapping.
Top
Methods
 NameDescription
Public methodClear Removes all injective mappings.
Public methodContainsLeft Determines whether an injective mapping exists between the specified left value and some right value.
Public methodContainsLeftRight Determines whether an injective mapping exists between the specified left and right values.
Public methodContainsRight Determines whether an injective mapping exists between the specified right value and some left value.
Public methodContainsRightLeft Determines whether an injective mapping exists between the specified right and left values.
Public methodGetEnumerator Enumerator for the injective mapping.
Public methodMapLeftRight(TLeft) Accessor for the right value mapped to the specified left value.
Public methodMapLeftRight(TLeft, TRight) Specifies an injective mapping between left and right.
Public methodMapRightLeft(TRight) Accessor for the left value mapped to the specified right value.
Public methodMapRightLeft(TRight, TLeft) Specifies an injective mapping between right and left.
Public methodRemoveLeftRight(TLeft) Removes the injective mapping between the specified left value and the corresponding right value.
Public methodRemoveLeftRight(TLeft, TRight) Removes the injective mapping between the specified left and right values.
Public methodRemoveRightLeft(TRight) Removes the injective mapping between the specified right value and the corresponding left value.
Public methodRemoveRightLeft(TRight, TLeft) Removes the injective mapping between the specified right and left values.
Public methodTryMapLeftRight Accessor for the right value mapped to the specified left value.
Public methodTryMapRightLeft Accessor for the left value mapped to the specified right value.
Top
See Also