public class FixedParamValue extends Object implements ParamValue
| Constructor and Description |
|---|
FixedParamValue(String... values) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(String value)
max index is 2^31 - 1
|
String |
getN(int n)
DEFAULT value will be returned if n = 0
|
public FixedParamValue(String... values)
public String getN(int n)
getN in interface ParamValuen - public int getIndex(String value)
ParamValuegetIndex in interface ParamValuevalue - the stored valueCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.