UnicodeSet 类

定义

[Android.Runtime.Register("android/icu/text/UnicodeSet", ApiSince=24, DoNotGenerateAcw=true)]
public class UnicodeSet : Android.Icu.Text.UnicodeFilter, Android.Icu.Util.IFreezable, IDisposable, Java.Interop.IJavaPeerable, Java.Lang.IComparable, Java.Lang.IIterable
[<Android.Runtime.Register("android/icu/text/UnicodeSet", ApiSince=24, DoNotGenerateAcw=true)>]
type UnicodeSet = class
    inherit UnicodeFilter
    interface IFreezable
    interface ICloneable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IComparable
    interface IIterable
继承
属性
实现

注解

Android 平台文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

UnicodeSet()
UnicodeSet(Int32, Int32)
UnicodeSet(Int32[])
UnicodeSet(IntPtr, JniHandleOwnership)
UnicodeSet(String, Boolean)
UnicodeSet(String, ParsePosition, ISymbolTable, UnicodeSetOptions)
UnicodeSet(String, ParsePosition, ISymbolTable)
UnicodeSet(String, UnicodeSetOptions)
UnicodeSet(String)
UnicodeSet(UnicodeSet)

字段

AddCaseMappings
Case
CaseInsensitive
IgnoreSpace
MaxValue
MinValue

属性

AllCodePoints
Class

返回此 Object的运行时类。

(继承自 Object)
Empty
Handle

基础 Android 实例的句柄。

(继承自 Object)
HasStrings
IsEmpty
IsFrozen
JniIdentityHashCode (继承自 Object)
JniPeerMembers
PeerReference (继承自 Object)
RangeCount
ThresholdClass
ThresholdType

方法

_generatePattern(StringBuffer, Boolean, Boolean)
_generatePattern(StringBuffer, Boolean)
Add(ICharSequence)
Add(IIterable)
Add(Int32, Int32)
Add(Int32)
Add(String)
AddAll(ICharSequence)
AddAll(IIterable)
AddAll(Int32, Int32)
AddAll(String)
AddAll(UnicodeSet)
AddAllTo(Object)
AddMatchSetTo(UnicodeSet)
ApplyIntPropertyValue(Int32, Int32)
ApplyPattern(String, Boolean)
ApplyPattern(String, UnicodeSetOptions)
ApplyPattern(String)
ApplyPropertyAlias(String, String, ISymbolTable)
ApplyPropertyAlias(String, String)
CharAt(Int32)
Clear()
Clone()
CloneAsThawed()
CloseOver(Int32)
Compact()
CompareTo(IIterable)
CompareTo(UnicodeSet, UnicodeSet+ComparisonStyle)
CompareTo(UnicodeSet)
Complement()
Complement(ICharSequence)
Complement(Int32, Int32)
Complement(Int32)
Complement(String)
ComplementAll(ICharSequence)
ComplementAll(String)
ComplementAll(UnicodeSet)
Contains(ICharSequence)
Contains(Int32, Int32)
Contains(Int32)
Contains(String)
ContainsAll(IIterable)
ContainsAll(String)
ContainsAll(UnicodeSet)
ContainsNone(ICharSequence)
ContainsNone(IIterable)
ContainsNone(Int32, Int32)
ContainsNone(String)
ContainsNone(UnicodeSet)
ContainsSome(ICharSequence)
ContainsSome(IIterable)
ContainsSome(Int32, Int32)
ContainsSome(String)
ContainsSome(UnicodeSet)
Dispose() (继承自 Object)
Dispose(Boolean) (继承自 Object)
Equals(Object)

指示其他对象是否“等于”此对象。

(继承自 Object)
Freeze()
From(ICharSequence)
From(String)
FromAll(ICharSequence)
FromAll(String)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
GetRangeEnd(Int32)
GetRangeStart(Int32)
IndexOf(Int32)
Iterator()
JavaFinalize()

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Matches(IReplaceable, Int32[], Int32, Boolean) (继承自 UnicodeFilter)
MatchesIndexValue(Int32)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
Ranges()
Remove(ICharSequence)
Remove(Int32, Int32)
Remove(Int32)
Remove(String)
RemoveAll(ICharSequence)
RemoveAll(IIterable)
RemoveAll(String)
RemoveAll(UnicodeSet)
RemoveAllStrings()
Retain(ICharSequence)
Retain(Int32, Int32)
Retain(Int32)
Retain(String)
RetainAll(ICharSequence)
RetainAll(IIterable)
RetainAll(String)
RetainAll(UnicodeSet)
Set(Int32, Int32)
Set(UnicodeSet)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
Size()
Span(ICharSequence, Int32, UnicodeSet+SpanCondition)
Span(ICharSequence, UnicodeSet+SpanCondition)
Span(String, Int32, UnicodeSet+SpanCondition)
Span(String, UnicodeSet+SpanCondition)
SpanBack(ICharSequence, Int32, UnicodeSet+SpanCondition)
SpanBack(ICharSequence, UnicodeSet+SpanCondition)
SpanBack(String, Int32, UnicodeSet+SpanCondition)
SpanBack(String, UnicodeSet+SpanCondition)
Strings()
ToArray<T>() (继承自 Object)
ToPattern(Boolean)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime() (继承自 Object)
Wait()

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64, Int32)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IComparable.CompareTo(Object)
IFreezable.CloneAsThawed()
IFreezable.Freeze()
IIterable.Iterator()
IJavaPeerable.Disposed() (继承自 Object)
IJavaPeerable.DisposeUnlessReferenced() (继承自 Object)
IJavaPeerable.Finalized() (继承自 Object)
IJavaPeerable.JniManagedPeerState (继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)
ToEnumerable(IIterable)
ToEnumerable<T>(IIterable)

适用于