| Class TSubArray (unit mwSArray) |
TObject
TSubArray definiert die Grenzen eines SubArrays und bestimmt ob das SubArray gefüllt ist oder nicht. Der MergeSort Algorithmus wird durch diese Klasse leichter lesbar
| Constructors |
constructor Create(MaxValue: LongInt);| Functions |
destructor Destroy;
procedure Init(LeftEnd, RightEnd: LongInt);
procedure Next;| Properties |
| Events |
| Variables |
FLeft : LongInt;
FRight : LongInt;
Full : Boolean;
FMax : LongInt;| Constructors |
constructor Create(MaxValue: LongInt);Destroy
| Functions |
destructor Destroy;Init
procedure Init(LeftEnd, RightEnd: LongInt);Next
procedure Next;| Properties |
| Events |
| Variables |
FLeft : LongInt;
FRight : LongInt;- Initialized to 0.
Full : Boolean;- Initialized to 0.
FMax : LongInt;