test whether one string ends with another , according to the rules of the xpath ends-with function concode_field_sep RuleBasedCollator collator concode_field_sep boolean contains concode_elem_sep int compare concode_elem_sep boolean collationContains concode_elem_sep boolean comparesEqual concode_elem_sep String substringAfter concode_elem_sep void main concode_elem_sep String substringBefore concode_elem_sep boolean collationStartsWith concode_elem_sep boolean startsWith
boolean function ( String arg0 , String arg1 ) { CollationElementIterator loc0 = collator . getCollationElementIterator ( arg0 ) ; CollationElementIterator loc1 = collator . getCollationElementIterator ( arg1 ) ; return collationContains ( loc0 , loc1 , null , true ) ; }