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