TwoWayMap.indexOf

Gets the index of an element of type B in the list of all elements of type B.

  1. size_t* indexOf(KeyType a)
  2. size_t* indexOf(cstring b)
    struct TwoWayMap(A)
    size_t*
    indexOf

Parameters

b cstring

element to look up

Return Value

Type: size_t*

pointer to the index of an element of type B in this.values_list, or null if the element is not in the map

Meta