Module Interface ADT:Arrays

SUMMARY: MODULE | CLASS | TYPE | PROC | VAR | CONST | DETAIL: TYPE | PROC | VAR | CONST

# ADT:Arrays

### Import List

        ADT:Comparator
        Object
        Object

Procedure Summary
Sort(VAR ARRAY OF Object, LONGINT, LONGINT, Comparator) Sort array interval ``a[pos, endpos[`' according to the comparator function cmp.

Procedure Detail

### Sort

    PROCEDURE Sort(VAR a: ARRAY OF Object;
                   pos: LONGINT;
                   endpos: LONGINT;
                   cmp: Comparator)

> Sort array interval ``a[pos, endpos[`' according to the comparator function cmp.