mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-3943 minor fix
X-SVN-Rev: 18755
This commit is contained in:
parent
06e9cd578d
commit
91114f6145
1 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,15 @@ public class XEquivalenceClass {
|
|||
private Map obj_obj_reasons = new HashMap();
|
||||
private Object defaultReason;
|
||||
|
||||
/**
|
||||
* empty, as if just created
|
||||
*/
|
||||
public XEquivalenceClass clear(Object defaultReason) {
|
||||
toPartitionSet.clear();
|
||||
obj_obj_reasons.clear();
|
||||
this.defaultReason = defaultReason;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create class with comparator, and default reason.
|
||||
|
|
Loading…
Add table
Reference in a new issue