Asymptotic theory of a class of midrank statistics in the non-i. i. d. case