Retain only the elements in this set that are contained in the specified range. If
start > end then an empty range is retained, leaving the set empty. This is equivalent to a boolean logic AND, or a set INTERSECTION. A frozen set will not be modified.
|set ||the object for which to retain only the specified range |
|start ||first character, inclusive, of range to be retained to this set. |
|end ||last character, inclusive, of range to be retained to this set. ICU 3.2 |
Definition at line 123 of file uset.cpp.
((UnicodeSet*) set)->UnicodeSet::retain(start, end);