Microsoft SDK for Java

arrayCompare

This method of the SystemX class compares two arrays.

Syntax

public native static boolean arrayCompare(Object P[], int pStart, Object Q[], int qStart, int count);

Return Value

Returns true if the two arrays are equal; otherwise, the method returns false.

Parameters

P The first array.
pStart The first element of the first array.
Q The second array.
qStart The first element of the second array.
count The number of elements compared.

Exceptions

nullPointerArray occurs if there are not enough items in the arrays.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.