int function ( TemplateType arg0 ) { int loc0 = Math . min ( templateKeys . size ( ) , templateValues . size ( ) ) ; for ( int loc1 = loc0 - 1 ; loc1 >= 0 ; loc1 -- ) { if ( templateKeys . get ( loc1 ) == arg0 ) { return loc1 ; } } return - 1 ; }
returns the index of the jstype value associated with the specified template key . if no jstype value is associated , returns -1 . concode_field_sep ImmutableList<TemplateType> templateKeys concode_elem_sep JSTypeRegistry registry concode_elem_sep ImmutableList<JSType> templateValues concode_elem_sep boolean inRecursiveEquivalenceCheck concode_elem_sep ImmutableList<JSType> resolvedTemplateValues concode_field_sep boolean failedEquivalenceCheck concode_elem_sep JSType getResolvedTemplateType concode_elem_sep TemplateTypeMap addUnknownValues concode_elem_sep boolean checkEquivalenceHelper concode_elem_sep boolean checkEquivalenceHelper concode_elem_sep ImmutableList<TemplateType> getTemplateKeys concode_elem_sep boolean isEmpty concode_elem_sep boolean hasTemplateType concode_elem_sep JSType getTemplateType concode_elem_sep TemplateTypeMap extend concode_elem_sep ImmutableList<TemplateType> getUnfilledTemplateKeys concode_elem_sep boolean hasAnyTemplateTypesInternal concode_elem_sep TemplateType getTemplateTypeKeyByName concode_elem_sep String toString concode_elem_sep boolean hasTemplateKey concode_elem_sep ImmutableList<T> concatImmutableLists concode_elem_sep int numUnfilledTemplateKeys concode_elem_sep TemplateTypeMap addValues