public class BasicParameterSet extends Object implements ParameterSet
ParameterSet
.Constructor and Description |
---|
BasicParameterSet(Map<String,String> entity)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
get(String name)
Returns the target parameter value.
|
Set<String> |
getAvailable()
Returns the all available parameter names in this set.
|
boolean |
isAvailable(String name)
Returns whether the target parameter is available in this set or not.
|
Map<String,String> |
toMap()
Returns all available parameters.
|
String |
toString() |
public boolean isAvailable(String name)
ParameterSet
isAvailable
in interface ParameterSet
name
- the target parameter nametrue
if the parameter is available, otherwise false
public String get(String name)
ParameterSet
get
in interface ParameterSet
name
- the target parameter namenull
if the target parameter is not available in this setParameterSet.isAvailable(String)
public Set<String> getAvailable()
ParameterSet
getAvailable
in interface ParameterSet
public Map<String,String> toMap()
ParameterSet
toMap
in interface ParameterSet
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.