| Package | Description |
|---|---|
| cn.hutool.core.lang.mutable |
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
|
| Modifier and Type | Method and Description |
|---|---|
MutableInt |
MutableInt.add(int operand)
增加值
|
MutableInt |
MutableInt.add(Number operand)
增加值
|
MutableInt |
MutableInt.decrement()
值减一
|
MutableInt |
MutableInt.increment()
值+1
|
MutableInt |
MutableInt.subtract(int operand)
减去值
|
MutableInt |
MutableInt.subtract(Number operand)
减去值
|
| Modifier and Type | Method and Description |
|---|---|
int |
MutableInt.compareTo(MutableInt other)
比较
|
Copyright © 2025. All rights reserved.