get

public final Parameter<?> get(String name)

Returns the parameter with the given name if available.

Return

the parameter with the given name or null if none was available

Parameters

name

the name of the parameter to get


public final Parameter<T> get<T extends Any>(String name, Class<T> type)

Returns the parameter with the given name and type if available. If there is a parameter with the given name but a different type null gets returned.

Return

the parameter with the given name and type or null if none was available

Parameters

name

the name of the parameter to get

type

the type of the parameter to get