| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.core.lang.mutable |
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
|
| 限定符和类型 | 方法和说明 |
|---|---|
MutableLong |
MutableLong.add(long operand)
增加值
|
MutableLong |
MutableLong.add(Number operand)
增加值
|
MutableLong |
MutableLong.decrement()
值减一
|
MutableLong |
MutableLong.increment()
值+1
|
static MutableLong |
Mutable.of(long value)
创建一个
MutableLong对象 |
MutableLong |
MutableLong.subtract(long operand)
减去值
|
MutableLong |
MutableLong.subtract(Number operand)
减去值
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
MutableLong.compareTo(MutableLong other)
比较
|
Copyright © 2024. All rights reserved.