public final class Fluent extends java.lang.Object implements FluentParameterList
ParameterList in a convenient manner.| Constructor and Description |
|---|
Fluent() |
Fluent(ParameterList delegate) |
| Modifier and Type | Method and Description |
|---|---|
FluentParameterList |
alsoWith(Parameter... parameters)
Appends the given parameters, even if parameters with the same names already exist.
|
java.util.Iterator<Parameter> |
iterator() |
FluentParameterList |
ratherWith(Parameter... parameters)
Appends the given parameters, removing any other parameters that have the same names as the new ones.
|
FluentParameterList |
without(ParameterType<?>... types)
Removes any parameters of the given
ParameterTypes. |
public Fluent()
public Fluent(ParameterList delegate)
public FluentParameterList alsoWith(Parameter... parameters)
FluentParameterListalsoWith in interface FluentParameterListparameters - The parameters to append.FluentParameterList instance.public FluentParameterList ratherWith(Parameter... parameters)
FluentParameterListratherWith in interface FluentParameterListparameters - The new parameters.FluentParameterList instance.public FluentParameterList without(ParameterType<?>... types)
FluentParameterListParameterTypes.without in interface FluentParameterListtypes - The parameter parametertypes to remove.FluentParameterList instance.