Uses of Class
com.ibm.icu.text.UnicodeSet
-
Packages that use UnicodeSet Package Description com.ibm.icu.charset Enhanced charset conversion support.com.ibm.icu.lang Enhanced character property and surrogate support.com.ibm.icu.text Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.com.ibm.icu.util International calendars and other utility classes. -
-
Uses of UnicodeSet in com.ibm.icu.charset
Methods in com.ibm.icu.charset with parameters of type UnicodeSet Modifier and Type Method Description voidCharsetICU. getUnicodeSet(UnicodeSet setFillIn, int which)Returns the set of Unicode code points that can be converted by an ICU Converter.Constructors in com.ibm.icu.charset with parameters of type UnicodeSet Constructor Description CharsetSelector(List<String> charsetList, UnicodeSet excludedCodePoints, int mappingTypes)Construct a CharsetSelector from a list of charset names. -
Uses of UnicodeSet in com.ibm.icu.lang
Methods in com.ibm.icu.lang that return UnicodeSet Modifier and Type Method Description static UnicodeSetCharacterProperties. getBinaryPropertySet(int property)Returns a frozen UnicodeSet for a binary property. -
Uses of UnicodeSet in com.ibm.icu.text
Fields in com.ibm.icu.text declared as UnicodeSet Modifier and Type Field Description static UnicodeSetUnicodeSet. ALL_CODE_POINTSConstant for the set of all code points.static UnicodeSetUnicodeSet. EMPTYConstant for the empty set.static UnicodeSetSpoofChecker. INCLUSIONSecurity Profile constant from UTS 39 for use inSpoofChecker.Builder.setAllowedChars(com.ibm.icu.text.UnicodeSet).UnicodeSetSpoofChecker.CheckResult. numericsThe numerics found in the string, if MIXED_NUMBERS was set; otherwise null.static UnicodeSetSpoofChecker. RECOMMENDEDSecurity Profile constant from UTS 39 for use inSpoofChecker.Builder.setAllowedChars(com.ibm.icu.text.UnicodeSet).Methods in com.ibm.icu.text that return UnicodeSet Modifier and Type Method Description UnicodeSetUnicodeSet. add(int c)Adds the specified character to this set if it is not already present.UnicodeSetUnicodeSet. add(int start, int end)Adds the specified range to this set if it is not already present.UnicodeSetUnicodeSet. add(CharSequence s)Adds the specified multicharacter to this set if it is not already present.UnicodeSetUnicodeSet. add(Iterable<?> source)Add the contents of the collection (as strings) into this UnicodeSet.UnicodeSetUnicodeSet. addAll(int start, int end)Adds all characters in range (uses preferred naming convention).UnicodeSetUnicodeSet. addAll(UnicodeSet c)Adds all of the elements in the specified set to this set if they're not already present.UnicodeSetUnicodeSet. addAll(CharSequence s)Adds each of the characters in this string to the set.UnicodeSetUnicodeSet. addAll(Iterable<?> source)Add a collection (as strings) into this UnicodeSet.<T extends CharSequence>
UnicodeSetUnicodeSet. addAll(T... collection)UnicodeSetUnicodeSet. addBridges(UnicodeSet dontCare)Deprecated.This API is ICU internal only.UnicodeSetUnicodeSet. applyIntPropertyValue(int prop, int value)Modifies this set to contain those code points which have the given value for the given binary or enumerated property, as returned by UCharacter.getIntPropertyValue.UnicodeSetUnicodeSet. applyPattern(String pattern)Modifies this set to represent the set specified by the given pattern.UnicodeSetUnicodeSet. applyPattern(String pattern, boolean ignoreWhitespace)Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace.UnicodeSetUnicodeSet. applyPattern(String pattern, int options)Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace.UnicodeSetUnicodeSet. applyPattern(String pattern, ParsePosition pos, SymbolTable symbols, int options)Deprecated.This API is ICU internal only.UnicodeSetUnicodeSet. applyPropertyAlias(String propertyAlias, String valueAlias)Modifies this set to contain those code points which have the given value for the given property.UnicodeSetUnicodeSet. applyPropertyAlias(String propertyAlias, String valueAlias, SymbolTable symbols)Modifies this set to contain those code points which have the given value for the given property.UnicodeSetUnicodeSet. clear()Removes all of the elements from this set.UnicodeSetUnicodeSet. clone()Return a new set that is equivalent to this one.UnicodeSetUnicodeSet. cloneAsThawed()Clone a thawed version of this class, according to the Freezable interface.UnicodeSetUnicodeSet. closeOver(int attribute)Close this set over the given attribute.UnicodeSetUnicodeSet. compact()Reallocate this objects internal structures to take up the least possible space, without changing this object's value.UnicodeSetUnicodeSet. complement()This is equivalent tocomplement(MIN_VALUE, MAX_VALUE).UnicodeSetUnicodeSet. complement(int c)Complements the specified character in this set.UnicodeSetUnicodeSet. complement(int start, int end)Complements the specified range in this set.UnicodeSetUnicodeSet. complement(CharSequence s)Complement the specified string in this set.UnicodeSetUnicodeSet. complementAll(UnicodeSet c)Complements in this set all elements contained in the specified set.UnicodeSetUnicodeSet. complementAll(CharSequence s)Complement EACH of the characters in this string.UnicodeSetUnicodeSet. freeze()Freeze this class, according to the Freezable interface.static UnicodeSetUnicodeSet. from(CharSequence s)Makes a set from a multicharacter string.static UnicodeSetUnicodeSet. fromAll(CharSequence s)Makes a set from each of the characters in the string.UnicodeSetSpoofChecker. getAllowedChars()Get a UnicodeSet for the characters permitted in an identifier.UnicodeSetTransliterator. getFilterAsUnicodeSet(UnicodeSet externalFilter)Deprecated.This API is ICU internal only.UnicodeSetTransliterator. getSourceSet()Returns the set of all characters that may be modified in the input text by this Transliterator.UnicodeSetCollator. getTailoredSet()[icu] Returns a UnicodeSet that contains all the characters and sequences tailored in this collator.UnicodeSetRuleBasedCollator. getTailoredSet()Get a UnicodeSet that contains all the characters and sequences tailored in this collator.UnicodeSetTransliterator. getTargetSet()Returns the set of all characters that may be generated as replacement text by this transliterator.UnicodeSetUnicodeSetSpanner. getUnicodeSet()Returns the UnicodeSet used for processing.protected UnicodeSetTransliterator. handleGetSourceSet()Framework method that returns the set of all characters that may be modified in the input text by this Transliterator, ignoring the effect of this object's filter.UnicodeSetUnicodeSet. remove(int c)Removes the specified character from this set if it is present.UnicodeSetUnicodeSet. remove(int start, int end)Removes the specified range from this set if it is present.UnicodeSetUnicodeSet. remove(CharSequence s)Removes the specified string from this set if it is present.UnicodeSetUnicodeSet. removeAll(UnicodeSet c)Removes from this set all of its elements that are contained in the specified set.UnicodeSetUnicodeSet. removeAll(CharSequence s)Remove EACH of the characters in this string.<T extends CharSequence>
UnicodeSetUnicodeSet. removeAll(Iterable<T> collection)UnicodeSetUnicodeSet. removeAllStrings()Remove all strings from this UnicodeSetUnicodeSetUnicodeSet. retain(int c)Retain the specified character from this set if it is present.UnicodeSetUnicodeSet. retain(int start, int end)Retain only the elements in this set that are contained in the specified range.UnicodeSetUnicodeSet. retain(CharSequence cs)Retain the specified string in this set if it is present.UnicodeSetUnicodeSet. retainAll(UnicodeSet c)Retains only the elements in this set that are contained in the specified set.UnicodeSetUnicodeSet. retainAll(CharSequence s)Retains EACH of the characters in this string.<T extends CharSequence>
UnicodeSetUnicodeSet. retainAll(Iterable<T> collection)UnicodeSetUnicodeSet. set(int start, int end)Make this object represent the rangestart - end.UnicodeSetUnicodeSet. set(UnicodeSet other)Make this object represent the same set asother.Methods in com.ibm.icu.text with parameters of type UnicodeSet Modifier and Type Method Description UnicodeSetUnicodeSet. addAll(UnicodeSet c)Adds all of the elements in the specified set to this set if they're not already present.UnicodeSetUnicodeSet. addBridges(UnicodeSet dontCare)Deprecated.This API is ICU internal only.AlphabeticIndex<V>AlphabeticIndex. addLabels(UnicodeSet additions)Add more index characters (aside from what are in the locale)voidUnicodeMatcher. addMatchSetTo(UnicodeSet toUnionTo)Union the set of all characters that may be matched by this object into the given set.voidUnicodeSet. addMatchSetTo(UnicodeSet toUnionTo)Implementation of UnicodeMatcher API.voidRuleBasedTransliterator. addSourceTargetSet(UnicodeSet filter, UnicodeSet sourceSet, UnicodeSet targetSet)Deprecated.This API is ICU internal only.voidTransliterator. addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet)Deprecated.This API is ICU internal only.booleanUnicodeSet.XSymbolTable. applyPropertyAlias(String propertyName, String propertyValue, UnicodeSet result)Override the interpretation of the sequence [:propertyName=propertyValue:] (and its negated and Perl-style variant).intUnicodeSet. compareTo(UnicodeSet o)Compares UnicodeSets, where shorter come first, and otherwise lexicographically (according to the comparison of the first characters that differ).intUnicodeSet. compareTo(UnicodeSet o, UnicodeSet.ComparisonStyle style)Compares UnicodeSets, in three different ways.UnicodeSetUnicodeSet. complementAll(UnicodeSet c)Complements in this set all elements contained in the specified set.booleanUnicodeSet. containsAll(UnicodeSet b)Returns true if this set contains all the characters and strings of the given set.booleanUnicodeSet. containsNone(UnicodeSet b)Returns true if none of the characters or strings in this UnicodeSet appears in the string.booleanUnicodeSet. containsSome(UnicodeSet s)Returns true if this set contains one or more of the characters and strings of the given set.voidRuleBasedCollator. getContractionsAndExpansions(UnicodeSet contractions, UnicodeSet expansions, boolean addPrefixes)Gets unicode sets containing contractions and/or expansions of a collatorUnicodeSetTransliterator. getFilterAsUnicodeSet(UnicodeSet externalFilter)Deprecated.This API is ICU internal only.UnicodeSetUnicodeSet. removeAll(UnicodeSet c)Removes from this set all of its elements that are contained in the specified set.voidUnicodeSetIterator. reset(UnicodeSet uset)Sets this iterator to visit the elements of the given set and resets it to the start of that set.UnicodeSetUnicodeSet. retainAll(UnicodeSet c)Retains only the elements in this set that are contained in the specified set.UnicodeSetUnicodeSet. set(UnicodeSet other)Make this object represent the same set asother.SpoofChecker.BuilderSpoofChecker.Builder. setAllowedChars(UnicodeSet chars)Limit the acceptable characters to those specified by a Unicode Set.static String[]UnicodeSet. toArray(UnicodeSet set)Add the contents of the UnicodeSet (as strings) into an array.Constructors in com.ibm.icu.text with parameters of type UnicodeSet Constructor Description FilteredNormalizer2(Normalizer2 n2, UnicodeSet filterSet)Constructs a filtered normalizer wrapping any Normalizer2 instance and a filter set.UnicodeSet(UnicodeSet other)Constructs a copy of an existing set.UnicodeSetIterator(UnicodeSet set)Create an iterator over the given set.UnicodeSetSpanner(UnicodeSet source)Create a spanner from a UnicodeSet. -
Uses of UnicodeSet in com.ibm.icu.util
Methods in com.ibm.icu.util that return UnicodeSet Modifier and Type Method Description UnicodeSetLocaleData. getExemplarSet(int options, int extype)Returns the set of exemplar characters for a locale.static UnicodeSetLocaleData. getExemplarSet(ULocale locale, int options)Returns the set of exemplar characters for a locale.static UnicodeSetLocaleData. getExemplarSet(ULocale locale, int options, int extype)Returns the set of exemplar characters for a locale.Methods in com.ibm.icu.util with parameters of type UnicodeSet Modifier and Type Method Description StringStringTokenizer. nextToken(UnicodeSet delim)[icu] Returns the next token in this string tokenizer's string.Constructors in com.ibm.icu.util with parameters of type UnicodeSet Constructor Description StringTokenizer(String str, UnicodeSet delim)[icu] Constructs a string tokenizer for the specified string.StringTokenizer(String str, UnicodeSet delim, boolean returndelims)[icu] Constructs a string tokenizer for the specified string.StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims)Deprecated.This API is ICU internal only.
-