mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
20
src/SortTools/SortTools_StraightInsertionSort.cdl
Executable file
20
src/SortTools/SortTools_StraightInsertionSort.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StraightInsertionSort.cdl
|
||||
-- Created: Tue Mar 5 10:50:42 1991
|
||||
-- Author: Herve Legrand, Mireille MERCIEN
|
||||
-- <hl@topsn3>
|
||||
---Copyright: Matra Datavision 1991
|
||||
|
||||
generic class StraightInsertionSort from SortTools (
|
||||
Item as any;
|
||||
Array as Array1 from TCollection(Item);
|
||||
Comparator as any)
|
||||
|
||||
---Purpose: This class provides the StraightInsertionSort algorithm.
|
||||
|
||||
is
|
||||
|
||||
Sort(myclass; TheArray : in out Array; Comp : Comparator);
|
||||
---Purpose: Sort an array using the StraightInsertionSort algorithm.
|
||||
---Level: Public
|
||||
|
||||
end;
|
Reference in New Issue
Block a user