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 void
add(Parameter parameter)
Adds aParameter
to the end of theParameterList
or replaces an existingParameter
in theParameterList
.boolean
isEmpty()
Determines if there are anyParameter
s in theParameterList
.int
size()
Obtains the number ofParameter
s in theParameterList
.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Determines if there are anyParameter
s in theParameterList
.- Returns:
true
if there areParameter
s,false
otherwise
-
size
int size()
Obtains the number ofParameter
s in theParameterList
.- Returns:
- the number of
Parameter
s
-
add
void add(Parameter parameter)
Adds aParameter
to the end of theParameterList
or replaces an existingParameter
in theParameterList
.Should a
Parameter
with the same name as the specifiedParameter
already exist in the list, the specifiedParameter
will replace the existingParameter
in the list.- Parameters:
parameter
- theParameter
to add or replace
-
-