Pair Class (Typed) | ![]() |
Namespace: XSharp.VO.SDK
The Pair type exposes the following members.
Name | Description | |
---|---|---|
![]() | Pair | Initializes a new instance of the Pair class |
![]() | Pair(Long, Long) |
Construct a pair.
|
Name | Description | |
---|---|---|
![]() | Destroy | Free memory resources allocated for a VObject object and its derived objects. (Inherited from VObject.) |
![]() | GetHashCode | (Overrides GetHashCode.) |
1CLASS Fraction INHERIT Pair 2HIDDEN Num 3HIDDEN Denom 4METHOD Init(nVal1,nVal2) CLASS Fraction 5SUPER:Init(nVal1,nVal2) 6Num := nVal1 7Denom := nVal2 8METHOD Numerator() CLASS Fraction 9RETURN SELF:Num 10METHOD Denominator() CLASS Fraction 11RETURN SELF:Denom