Package com.tangosol.coherence.config
Interface ParameterList
- All Known Implementing Classes:
ResolvableParameterList
,SimpleParameterList
- Since:
- Coherence 12.1.2
- Author:
- bo 2011.09.14
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
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
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
-