Package org.ocpsoft.rewrite.param
Interface ParameterStore
- All Known Implementing Classes:
DefaultParameterStore
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturntrueif thisParameterStorecontains aParameterwith the given name, otherwise returnfalse.Parameter<?>Get theParameterwith the given name.Parameter<?>Retrieve theParameterwith the given name, otherwise use the default, if supplied.booleanisEmpty()intsize()Return the number ofParameterinstances in thisParameterStore.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
get
Get theParameterwith the given name.- Throws:
IllegalArgumentException- if theParameterwith the given name does not exist.
-
get
Retrieve theParameterwith the given name, otherwise use the default, if supplied.- Throws:
IllegalArgumentException- if theParameterwith the given name does not exist and no default was supplied.
-
isEmpty
boolean isEmpty() -
size
int size()Return the number ofParameterinstances in thisParameterStore. -
contains
Returntrueif thisParameterStorecontains aParameterwith the given name, otherwise returnfalse.
-