public int getPropertyValueEnumNoThrow ( int property , CharSequence alias ) { int valueMapIndex = findProperty ( property ) ; if ( valueMapIndex == 0 ) { return UProperty . UNDEFINED ; } valueMapIndex = valueMaps [ valueMapIndex + 1 ] ; if ( valueMapIndex == 0 ) { return UProperty . UNDEFINED ; } // valueMapIndex is the start of the property's valueMap, // where the first word is the BytesTrie offset. return getPropertyOrValueEnum ( valueMaps [ valueMapIndex ] , alias ) ; }
Returns a value enum given a property enum and one of its value names . Does not throw .