 | ContainerHelperIndexOfOrderedV Method (ListV, V) |
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
Syntaxpublic static int IndexOfOrdered<V>(
List<V> a,
V entry
)
Parameters
- a
- Type: System.Collections.GenericListV
A List, i.e. dynamic array. - entry
- Type: V
The value to search for.
Type Parameters
- V
Return Value
Type:
Int32The first position of entry in the array a, -1 if entry not in a.
See Also