source: ObjectBaseTypes/Level 1/UObjectDouble.pas

Last change on this file was 14, checked in by george, 15 years ago
  • Upraveno: Rozšíření sady tříd objektových typů.
File size: 1.4 KB
Line 
1unit UObjectDouble;
2
3interface
4
5uses
6 UObjectTypeBase, UObjectBoolean;
7
8type
9 TDouble = class(TInterfacedObject, IAssignable, IOrderable, IComparable)
10 procedure Assign(Source: TInterfacedObject);
11 function HigherThen(Operand: IOrderable): TBoolean;
12 function LowerThan(Operand: IOrderable): TBoolean;
13 function Max(Operand1, Operand2: IOrderable): IOrderable;
14 function Min(Operand1, Operand2: IOrderable): IOrderable;
15 function EqualTo(Operand: IComparable): TBoolean;
16 function Predecessor: IOrderable;
17 function Successor: IOrderable;
18 function Low: IOrderable;
19 function High: IOrderable;
20 end;
21
22implementation
23
24{ TDouble }
25
26procedure TDouble.Assign(Source: TInterfacedObject);
27begin
28
29end;
30
31function TDouble.EqualTo(Operand: IComparable): TBoolean;
32begin
33
34end;
35
36function TDouble.High: IOrderable;
37begin
38
39end;
40
41function TDouble.HigherThen(Operand: IOrderable): TBoolean;
42begin
43
44end;
45
46function TDouble.Low: IOrderable;
47begin
48
49end;
50
51function TDouble.LowerThan(Operand: IOrderable): TBoolean;
52begin
53
54end;
55
56function TDouble.Max(Operand1, Operand2: IOrderable): IOrderable;
57begin
58
59end;
60
61function TDouble.Min(Operand1, Operand2: IOrderable): IOrderable;
62begin
63
64end;
65
66function TDouble.Predecessor: IOrderable;
67begin
68
69end;
70
71function TDouble.Successor: IOrderable;
72begin
73
74end;
75
76end.
Note: See TracBrowser for help on using the repository browser.