接口 OperationParameters
- 所有超级接口:
Iterable<OperationParameter>
A collection of
operation parameters.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明get(int index) Return the parameter at the specified index.intReturn the total number of parameters.default booleanReturn if any of the contained parameters aremandatory.default booleanReturntrueif there is at least one parameter.stream()Return a stream of the contained parameters.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
方法详细资料
-
hasParameters
default boolean hasParameters()Returntrueif there is at least one parameter.- 返回:
- if there are parameters
-
getParameterCount
int getParameterCount()Return the total number of parameters.- 返回:
- the total number of parameters
-
hasMandatoryParameter
default boolean hasMandatoryParameter()Return if any of the contained parameters aremandatory.- 返回:
- if any parameters are mandatory
-
get
Return the parameter at the specified index.- 参数:
index- the parameter index- 返回:
- the parameter
-
stream
Stream<OperationParameter> stream()Return a stream of the contained parameters.- 返回:
- a stream of the parameters
-