public final class Combination extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Combination.Builder
Realization of the builder pattern for the
Combination class. |
| Constructor and Description |
|---|
Combination(Map<Parameter,Value> parameterValueMap)
Creates a new combination with the mappings.
|
| Modifier and Type | Method and Description |
|---|---|
static Combination.Builder |
combination() |
boolean |
equals(Object object) |
Map<Parameter,Value> |
getParameterValueMap() |
Object |
getRawValue(Parameter parameter)
The same as
getValue(Parameter) only with Value.get() begin called afterwards. |
Object |
getRawValue(String parameterName)
The same as
getValue(Parameter) only with Value.get() begin called afterwards. |
Value |
getValue(Parameter parameter)
Retrieves the value of the specific parameter.
|
Value |
getValue(String parameterName)
Retrives the value of the parameter corresponding to the name.
|
int |
hashCode() |
int |
size() |
String |
toString() |
public Value getValue(Parameter parameter)
parameter - a parameternull if it is not mappedpublic Value getValue(String parameterName)
parameterName - the name of a parameter. Should be unique in the combinationnull if there is not parameter
with this namepublic Object getRawValue(Parameter parameter)
getValue(Parameter) only with Value.get() begin called afterwards.parameter - a parameternull if it is not mapped. This may be
ambiguous as null can also be a valid value objectpublic Object getRawValue(String parameterName)
getValue(Parameter) only with Value.get() begin called afterwards.parameterName - the name of a parameter. Should be unique in the combinationnull if it is not mapped. This may be
ambiguous as null can also be a valid value objectpublic Map<Parameter,Value> getParameterValueMap()
public int size()
public static Combination.Builder combination()
Copyright © 2019. All rights reserved.