public class NumberFormat extends AbstractModel
header, skipSign
Constructor and Description |
---|
NumberFormat() |
NumberFormat(NumberFormat source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getIncrement()
Get `{number}`变量的增长步长,默认为1。
|
Long |
getInitialValue()
Get `{number}`变量的起始值,默认为0。
|
Long |
getMinLength()
Get `{number}`变量的最小长度,不足时补占位符。默认为1。
|
String |
getPlaceHolder()
Get `{number}`变量的长度不足时,补充的占位符。默认为"0"。
|
void |
setIncrement(Long Increment)
Set `{number}`变量的增长步长,默认为1。
|
void |
setInitialValue(Long InitialValue)
Set `{number}`变量的起始值,默认为0。
|
void |
setMinLength(Long MinLength)
Set `{number}`变量的最小长度,不足时补占位符。默认为1。
|
void |
setPlaceHolder(String PlaceHolder)
Set `{number}`变量的长度不足时,补充的占位符。默认为"0"。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public NumberFormat()
public NumberFormat(NumberFormat source)
public Long getInitialValue()
public void setInitialValue(Long InitialValue)
InitialValue
- `{number}`变量的起始值,默认为0。public Long getIncrement()
public void setIncrement(Long Increment)
Increment
- `{number}`变量的增长步长,默认为1。public Long getMinLength()
public void setMinLength(Long MinLength)
MinLength
- `{number}`变量的最小长度,不足时补占位符。默认为1。public String getPlaceHolder()
public void setPlaceHolder(String PlaceHolder)
PlaceHolder
- `{number}`变量的长度不足时,补充的占位符。默认为"0"。Copyright © 2024. All rights reserved.