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