final String[] enumerated = listDescriptor.getEnumeratedParameterNames();
final List<GeneralParameterDescriptor> descriptors = descriptor.descriptors();
final GeneralParameterValue[] values = new GeneralParameterValue[descriptors.size()];
for (int i=0; i<values.length; i++) {
final ParameterDescriptor d = (ParameterDescriptor) descriptors.get(i);
final ParameterValue value;
if (compatible(d, listDescriptor, names, types, enumerated)) {
/*
* Found a parameter which is a member of the JAI ParameterList, and the
* type matches the expected one. Uses 'parameters' as the backing store.
*/