类 FixedParamValue
- java.lang.Object
-
- org.apache.dubbo.common.url.component.param.FixedParamValue
-
- 所有已实现的接口:
ParamValue
public class FixedParamValue extends Object implements ParamValue
In lower case
-
-
构造器概要
构造器 构造器 说明 FixedParamValue(String... values)
-
-
-
构造器详细资料
-
FixedParamValue
public FixedParamValue(String... values)
-
-
方法详细资料
-
getN
public String getN(Integer n)
DEFAULT value will be returned if n = 0- 指定者:
getN
在接口中ParamValue
- 参数:
n
-- 返回:
- the value stored at index = n
-
getIndex
public Integer getIndex(String value)
从接口复制的说明:ParamValue
max index is 2^31 - 1- 指定者:
getIndex
在接口中ParamValue
- 参数:
value
- the stored value- 返回:
- the index of value
-
defaultVal
public String defaultVal()
从接口复制的说明:ParamValue
get default value- 指定者:
defaultVal
在接口中ParamValue
- 返回:
- the default value stored at index = 0
-
-