public class DynamicValues extends Object implements ParamValue
| Constructor and Description |
|---|
DynamicValues(String defaultVal) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(String value) |
String |
defaultVal()
get default value
|
Integer |
getIndex(String value)
max index is 2^31 - 1
|
String |
getN(Integer n)
get value at the specified index.
|
public DynamicValues(String defaultVal)
public int add(String value)
public String getN(Integer n)
ParamValuegetN in interface ParamValuen - the nth valuepublic Integer getIndex(String value)
ParamValuegetIndex in interface ParamValuevalue - the stored valuepublic String defaultVal()
ParamValuedefaultVal in interface ParamValueCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.