Click or drag to resize

CollectionUtilsEqualsArrayT Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Returns true if the two specified arrays are equal to one another. Two arrays are considered equal if both arrays contain the same number of elements, and all corresponding pairs of elements in the two arrays are equal. In other words, two arrays are equal if they contain the same elements in the same order. Also, two array references are considered equal if both are null

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static bool EqualsArray<T>(
	T[] array1,
	T[] array2,
	IEqualityComparer comparer
)

Parameters

array1
Type: T
One array to be tested for equality.
array2
Type: T
The other array to be tested for equality.
comparer
Type: System.CollectionsIEqualityComparer
Comparer to use when comparing elements.

Type Parameters

T
The type of the array element.

Return Value

Type: Boolean
true if the two arrays are equal; otherwise false.
See Also