boolean function ( XMLGrammarDescription arg0 , XMLGrammarDescription arg1 ) { return arg0 . equals ( arg1 ) ; }
this method checks whether two grammars are the same . currently , we compare the root element names for dtd grammars and the target namespaces for schema grammars . the application can override this behaviour and add its own logic . concode_field_sep boolean fPoolIsLocked concode_elem_sep int fGrammarCount concode_elem_sep Entry next concode_elem_sep int TABLE_SIZE concode_elem_sep Grammar grammar concode_elem_sep Entry[] fGrammars concode_elem_sep boolean DEBUG concode_elem_sep int hash concode_elem_sep XMLGrammarDescription desc concode_field_sep Grammar getGrammar concode_elem_sep void unlockPool concode_elem_sep void putGrammar concode_elem_sep Grammar removeGrammar concode_elem_sep Grammar[] retrieveInitialGrammarSet concode_elem_sep int hashCode concode_elem_sep void clear concode_elem_sep void clear concode_elem_sep void cacheGrammars concode_elem_sep boolean containsGrammar concode_elem_sep void lockPool concode_elem_sep Grammar retrieveGrammar