Click or drag to resize

ContainerHelperIndexOfOrdered Method (IList, Object)

Returns the first position of entry in the array a with a binary search - thus the array must be ordered.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static int IndexOfOrdered(
	IList a,
	Object entry
)

Parameters

a
Type: System.CollectionsIList
A List, i.e. dynamic array.
entry
Type: SystemObject
The value to search for.

Return Value

Type: Int32
The first position of entry in the array a, -1 if entry not in a.
See Also