Methods
(async, static) createObj() → {Promise.<IntUser>}
构造一个新的IntUser对象,可通过无参或有参构造。
有参构造的参数为:整数值(int类型的Number)
- Source:
Returns:
- Type
- Promise.<IntUser>
(async, static) getValue() → {int}
获取整数值
- Source:
Returns:
- Type
- int
(async, static) setValue(value) → {Promise.<Void>}
设置整数值
Parameters:
| Name | Type | Description |
|---|---|---|
value |
int | 整数值 |
- Source:
Returns:
- Type
- Promise.<Void>