Package com.tangosol.coherence.config
Interface ParameterList
-
- All Known Implementing Classes:
ResolvableParameterList,SimpleParameterList
public interface ParameterList extends Iterable<Parameter>
- Since:
- Coherence 12.1.2
- Author:
- bo 2011.09.14
- See Also:
Parameter,ParameterResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(Parameter parameter)Adds aParameterto the end of theParameterListor replaces an existingParameterin theParameterList.booleanisEmpty()Determines if there are anyParameters in theParameterList.intsize()Obtains the number ofParameters in theParameterList.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Determines if there are anyParameters in theParameterList.- Returns:
trueif there areParameters,falseotherwise
-
size
int size()
Obtains the number ofParameters in theParameterList.- Returns:
- the number of
Parameters
-
add
void add(Parameter parameter)
Adds aParameterto the end of theParameterListor replaces an existingParameterin theParameterList.Should a
Parameterwith the same name as the specifiedParameteralready exist in the list, the specifiedParameterwill replace the existingParameterin the list.- Parameters:
parameter- theParameterto add or replace
-
-