Package-level declarations

Types

Link copied to clipboard

用于在 CharSequenceIDDelegate.getValue 中作为委托接收器,通过 stringID 构造。

Link copied to clipboard

用于在 IntIDDelegate.getValue 中作为委托接收器,通过 intID 构造。

Link copied to clipboard

用于在 LongIDDelegate.getValue 中作为委托接收器,通过 longID 构造。

Link copied to clipboard

用于在 TimestampDelegate.getValue 中作为委托接收器,通过 timestamp 构造。

Link copied to clipboard

用于在 UIntIDDelegate.getValue 中作为委托接收器,通过 uIntID 构造。

Link copied to clipboard

用于在 ULongIDDelegate.getValue 中作为委托接收器,通过 uLongID 构造。

Functions

Link copied to clipboard

构造一个 CharSequenceIDDelegate 对象,用于进行 CharSequenceID 的属性委托。

Link copied to clipboard
inline operator fun CharSequenceIDDelegate.getValue(o: Any?, property: KProperty<*>?): CharSequenceID

将一个 CharSequence (通常为 String) 委托为 CharSequenceID.

inline operator fun IntIDDelegate.getValue(o: Any?, property: KProperty<*>?): IntID

将一个 Int 委托为 IntID.

inline operator fun LongIDDelegate.getValue(o: Any?, property: KProperty<*>?): LongID

将一个 Long 委托为 LongID.

inline operator fun TimestampDelegate.getValue(o: Any?, property: KProperty<*>?): Timestamp

将一个毫秒时间戳委托为 Timestamp.

inline operator fun UIntIDDelegate.getValue(o: Any?, property: KProperty<*>?): UIntID

将一个 UInt 委托为 UIntID.

inline operator fun ULongIDDelegate.getValue(o: Any?, property: KProperty<*>?): ULongID

将一个 ULong 委托为 ULongID.

Link copied to clipboard
inline fun intID(block: () -> Int): IntIDDelegate

构造一个 IntIDDelegate 对象,用于进行 IntID 的属性委托。

Link copied to clipboard
inline fun longID(block: () -> Long): LongIDDelegate

构造一个 LongIDDelegate 对象,用于进行 LongID 的属性委托。

Link copied to clipboard

构造一个 CharSequenceIDDelegate 对象,用于进行 CharSequenceID 的属性委托。

Link copied to clipboard

构造一个 TimestampDelegate 对象,用于进行 Timestamp 的属性委托。

Link copied to clipboard
inline fun uIntID(block: () -> UInt): UIntIDDelegate

构造一个 UIntIDDelegate 对象,用于进行 UIntID 的属性委托。

Link copied to clipboard
inline fun uLongID(block: () -> ULong): ULongIDDelegate

构造一个 LongIDDelegate 对象,用于进行 LongID 的属性委托。